summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmacstyle
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmacstyle')
-rw-r--r--tests/auto/qmacstyle/qmacstyle.pro1
-rw-r--r--tests/auto/qmacstyle/tst_qmacstyle.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qmacstyle/qmacstyle.pro b/tests/auto/qmacstyle/qmacstyle.pro
index fb23a52c0f..5aad7368c6 100644
--- a/tests/auto/qmacstyle/qmacstyle.pro
+++ b/tests/auto/qmacstyle/qmacstyle.pro
@@ -1,4 +1,5 @@
load(qttest_p4)
+QT += widgets
SOURCES += tst_qmacstyle.cpp
diff --git a/tests/auto/qmacstyle/tst_qmacstyle.cpp b/tests/auto/qmacstyle/tst_qmacstyle.cpp
index 6e03afd575..3c2f71184d 100644
--- a/tests/auto/qmacstyle/tst_qmacstyle.cpp
+++ b/tests/auto/qmacstyle/tst_qmacstyle.cpp
@@ -41,7 +41,7 @@
#include <QtTest/QtTest>
-#include <QtGui>
+#include <QtWidgets>
#include <qmacstyle_mac.h>