Fix broken -no-feature-dom

44a26a0a79 did a clean up
and moved the new private header outside of QT_NO_DOM.

Fixes: QTBUG-82175
Change-Id: Iafe9c53b78037bdac8420911f6847d29672c68de
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
This commit is contained in:
André Klitzing 2020-02-19 13:16:29 +01:00
parent b1b37a36cb
commit fc3226e790
2 changed files with 9 additions and 2 deletions

View File

@ -39,12 +39,13 @@
#include <qplatformdefs.h> #include <qplatformdefs.h>
#include <qdom.h> #include <qdom.h>
#include "qdom_p.h"
#include "qdomhelpers_p.h"
#include "private/qxmlutils_p.h" #include "private/qxmlutils_p.h"
#ifndef QT_NO_DOM #ifndef QT_NO_DOM
#include "qdom_p.h"
#include "qdomhelpers_p.h"
#include <qatomic.h> #include <qatomic.h>
#include <qbuffer.h> #include <qbuffer.h>
#include <qiodevice.h> #include <qiodevice.h>

View File

@ -37,6 +37,10 @@
** **
****************************************************************************/ ****************************************************************************/
#include <QtXml/qtxmlglobal.h>
#ifndef QT_NO_DOM
#include "qdomhelpers_p.h" #include "qdomhelpers_p.h"
#include "qdom_p.h" #include "qdom_p.h"
#include "qxmlstream.h" #include "qxmlstream.h"
@ -661,3 +665,5 @@ bool QDomParser::parseMarkupDecl()
} }
QT_END_NAMESPACE QT_END_NAMESPACE
#endif // QT_NO_DOM