aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp1
-rw-r--r--tests/auto/debugger/tst_offsets.cpp2
-rw-r--r--tests/helper/qmlapplicationviewer/qmlapplicationviewer.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index f004a229bdb..06414bff075 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -1339,6 +1339,7 @@ void tst_Dumpers::dumper()
"\n\n" + data.includes +
"\n\n" + (data.useQHash ?
"\n#include <QByteArray>"
+ "\n#include <QtGlobal>"
"\n#if QT_VERSION >= 0x050900"
"\n#include <QHash>"
"\nvoid initHashSeed() { qSetGlobalQHashSeed(0); }"
diff --git a/tests/auto/debugger/tst_offsets.cpp b/tests/auto/debugger/tst_offsets.cpp
index 5dca246bcff..8bba5fd529c 100644
--- a/tests/auto/debugger/tst_offsets.cpp
+++ b/tests/auto/debugger/tst_offsets.cpp
@@ -37,6 +37,8 @@
#endif
#endif
+#include <QtGlobal>
+
#include <private/qdatetime_p.h>
#include <private/qfile_p.h>
#include <private/qfileinfo_p.h>
diff --git a/tests/helper/qmlapplicationviewer/qmlapplicationviewer.cpp b/tests/helper/qmlapplicationviewer/qmlapplicationviewer.cpp
index 0a874318676..5c63c4e432b 100644
--- a/tests/helper/qmlapplicationviewer/qmlapplicationviewer.cpp
+++ b/tests/helper/qmlapplicationviewer/qmlapplicationviewer.cpp
@@ -42,6 +42,7 @@
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
+#include <QtCore/QtGlobal>
#include <QtDeclarative/QDeclarativeComponent>
#include <QtDeclarative/QDeclarativeEngine>
#include <QtDeclarative/QDeclarativeContext>