From 6be61763a0d2477d47031116381ec37704d155a7 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.5 6.6 6.7 Change-Id: Ic7927375701fbcdf106f90fbea8ea3aac2df8f5a Reviewed-by: Ivan Solovev --- 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 922d5ee913..6959b634be 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().