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:
hjk
2022-05-16 14:32:27 +02:00
parent 3db3b441db
commit 6d1ec54679

View File

@@ -198,7 +198,9 @@ void dummyStatement(...) {}
#include <QWebPage>
#endif
#if QT_VERSION < 0x060000
#include <QXmlAttributes>
#endif
#include <QHostAddress>
#include <QNetworkRequest>
@@ -2515,6 +2517,7 @@ namespace qxml {
void testQXmlAttributes()
{
#if QT_VERSION < 0x060000
// only works with Python dumper
QXmlAttributes atts;
atts.append("name1", "uri1", "localPart1", "value1");
@@ -2543,6 +2546,7 @@ namespace qxml {
// CheckType atts.d QXmlAttributesPrivate.
// Continue.
dummyStatement();
#endif
}
} // namespace qxml