diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp index 1c064b44096912a8e92afb7c3a8719a39f8e5b80..0542326baa3c82a53652176baad2aba6515dd918 100644 --- a/tests/manual/debugger/simple/simple_test_app.cpp +++ b/tests/manual/debugger/simple/simple_test_app.cpp @@ -152,10 +152,6 @@ void dummyStatement(...) {} #include <QSharedPointer> #endif -#if USE_TIMEZONE -#include <QTimeZone> -#endif - #if USE_GUILIB #include <QAction> #include <QApplication> // QWidgets: Separate module as of Qt 5 @@ -168,8 +164,10 @@ void dummyStatement(...) {} #include <QStandardItemModel> #include <QTextCursor> #include <QTextDocument> +#if USE_TIMEZONE #include <QTimeZone> #endif +#endif #if USE_SCRIPTLIB #include <QScriptEngine> @@ -711,10 +709,12 @@ namespace qdatetime { void testQTimeZone() { +#if USE_TIMEZONE QTimeZone zz; QTimeZone tz("UTC+05:00"); BREAK_HERE; dummyStatement(&zz, &tz); +#endif } void testQDate()