From 97a39fb8f65cea016c72e1a324f82731ed655f76 Mon Sep 17 00:00:00 2001 From: Jaishree Vyas Date: Fri, 26 Jan 2024 23:41:24 +0100 Subject: [PATCH] Doc: QDomDocument doc refers to QXmlQuery which doesn't exist in Qt6 Remove QXmlQuery from the docs Fixes: QTBUG-120530 Pick-to: 6.6 6.5 Change-Id: Ic7927375701fbcdf106f90fbea8ea3aac2df8f5a Reviewed-by: Ivan Solovev (cherry picked from commit 6be61763a0d2477d47031116381ec37704d155a7) Reviewed-by: Qt Cherry-pick Bot --- src/xml/dom/qdom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp index 922d5ee9138..6959b634be1 100644 --- a/src/xml/dom/qdom.cpp +++ b/src/xml/dom/qdom.cpp @@ -5992,8 +5992,8 @@ void QDomDocumentPrivate::saveDocument(QTextStream& s, const int indent, QDomNod representation of the document can be obtained using toString(). \note The DOM tree might end up reserving a lot of memory if the XML - document is big. For such documents, the QXmlStreamReader or the - QXmlQuery classes might be better solutions. + document is big. For such documents, the QXmlStreamReader class + might be a better solution. It is possible to insert a node from another document into the document using importNode().