forked from qt-creator/qt-creator
Debugger: Make manual test easier compile with Qt 6
Change-Id: I2623a45fea4ac3ddad2790cbd34852891a9d73b4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -198,7 +198,9 @@ void dummyStatement(...) {}
|
|||||||
#include <QWebPage>
|
#include <QWebPage>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if QT_VERSION < 0x060000
|
||||||
#include <QXmlAttributes>
|
#include <QXmlAttributes>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <QHostAddress>
|
#include <QHostAddress>
|
||||||
#include <QNetworkRequest>
|
#include <QNetworkRequest>
|
||||||
@@ -2515,6 +2517,7 @@ namespace qxml {
|
|||||||
|
|
||||||
void testQXmlAttributes()
|
void testQXmlAttributes()
|
||||||
{
|
{
|
||||||
|
#if QT_VERSION < 0x060000
|
||||||
// only works with Python dumper
|
// only works with Python dumper
|
||||||
QXmlAttributes atts;
|
QXmlAttributes atts;
|
||||||
atts.append("name1", "uri1", "localPart1", "value1");
|
atts.append("name1", "uri1", "localPart1", "value1");
|
||||||
@@ -2543,6 +2546,7 @@ namespace qxml {
|
|||||||
// CheckType atts.d QXmlAttributesPrivate.
|
// CheckType atts.d QXmlAttributesPrivate.
|
||||||
// Continue.
|
// Continue.
|
||||||
dummyStatement();
|
dummyStatement();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace qxml
|
} // namespace qxml
|
||||||
|
Reference in New Issue
Block a user