Fix build with -no-feature-xmlstreamreader
Change-Id: Ia55d0d1640f08fbff3e0bb5fef0cde261acdc4bd Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
parent
96f7404b54
commit
2162bcc5e8
@ -330,6 +330,8 @@ QVariant::QVariant(const QSize &s) : QVariant(QVariant::fromValue(s)) {}
|
|||||||
QVariant::QVariant(const QSizeF &s) : QVariant(QVariant::fromValue(s)) {}
|
QVariant::QVariant(const QSizeF &s) : QVariant(QVariant::fromValue(s)) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if QT_CONFIG(xmlstreamreader)
|
||||||
|
|
||||||
#include "qxmlstream.h"
|
#include "qxmlstream.h"
|
||||||
|
|
||||||
QXmlStreamReader::QXmlStreamReader(const QByteArray &data)
|
QXmlStreamReader::QXmlStreamReader(const QByteArray &data)
|
||||||
@ -361,4 +363,6 @@ void QXmlStreamReader::addData(const char *data)
|
|||||||
addData(QAnyStringView(data));
|
addData(QAnyStringView(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // QT_CONFIG(xmlstreamreader)
|
||||||
|
|
||||||
#endif // QT_CORE_REMOVED_SINCE(6, 5)
|
#endif // QT_CORE_REMOVED_SINCE(6, 5)
|
||||||
|
Loading…
Reference in New Issue
Block a user