Fix build with -no-feature-cssparser

Pick-to: 6.5
Change-Id: I146ac61f92acdcd22c46ca27a1fca48c47817e3c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Tasuku Suzuki 2023-01-16 00:49:20 +09:00
parent 0d596bf53d
commit ce1506355f
5 changed files with 9 additions and 2 deletions

View File

@ -29,7 +29,9 @@
#include "QtCore/qurl.h"
#include "QtCore/qvariant.h"
#if QT_CONFIG(cssparser)
#include "private/qcssparser_p.h"
#endif
#include "private/qfragmentmap_p.h"
#include "private/qobject_p.h"
#include "private/qtextformat_p.h"

View File

@ -7,7 +7,9 @@
#include "qtexttable.h"
#include "qtextlist.h"
#include "qtextengine_p.h"
#if QT_CONFIG(cssparser)
#include "private/qcssutil_p.h"
#endif
#include "private/qguiapplication_p.h"
#include "qabstracttextdocumentlayout_p.h"

View File

@ -26,7 +26,9 @@
#include "private/qtextformat_p.h"
#include "private/qtextdocument_p.h"
#if QT_CONFIG(cssparser)
#include "private/qcssparser_p.h"
#endif
#ifndef QT_NO_TEXTHTMLPARSER

View File

@ -7,7 +7,6 @@
#include <QtGui/QPalette>
#include <QtCore/QTextStream>
#include <QtGui/private/qmath_p.h>
#include <QtGui/private/qcssparser_p.h>
#include <QtGui/private/qtextengine_p.h>
#include <QtGui/private/qt_egl_p.h>

View File

@ -11,8 +11,10 @@
avoid parsing overhead.
*/
#include "private/qcssparser_p.h"
#include "qstylesheetstyle_p.h"
#if QT_CONFIG(cssparser)
#include "private/qcssparser_p.h"
#endif
#ifndef QT_NO_STYLE_STYLESHEET