diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp index 072345c3fcf..915f7c8c9ff 100644 --- a/tests/manual/debugger/simple/simple_test_app.cpp +++ b/tests/manual/debugger/simple/simple_test_app.cpp @@ -198,7 +198,9 @@ void dummyStatement(...) {} #include #endif +#if QT_VERSION < 0x060000 #include +#endif #include #include @@ -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