summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicseffectsource
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgraphicseffectsource')
-rw-r--r--tests/auto/qgraphicseffectsource/qgraphicseffectsource.pro1
-rw-r--r--tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp10
2 files changed, 6 insertions, 5 deletions
diff --git a/tests/auto/qgraphicseffectsource/qgraphicseffectsource.pro b/tests/auto/qgraphicseffectsource/qgraphicseffectsource.pro
index da437e959c..44ec70eef3 100644
--- a/tests/auto/qgraphicseffectsource/qgraphicseffectsource.pro
+++ b/tests/auto/qgraphicseffectsource/qgraphicseffectsource.pro
@@ -1,5 +1,6 @@
load(qttest_p4)
+QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qgraphicseffectsource.cpp
diff --git a/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp b/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
index 9bf620f749..472df8fed0 100644
--- a/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
+++ b/tests/auto/qgraphicseffectsource/tst_qgraphicseffectsource.cpp
@@ -40,11 +40,11 @@
****************************************************************************/
#include <QtTest/QtTest>
-#include <QtGui/qgraphicseffect.h>
-#include <QtGui/qgraphicsview.h>
-#include <QtGui/qgraphicsscene.h>
-#include <QtGui/qgraphicsitem.h>
-#include <QtGui/qstyleoption.h>
+#include <QtWidgets/qgraphicseffect.h>
+#include <QtWidgets/qgraphicsview.h>
+#include <QtWidgets/qgraphicsscene.h>
+#include <QtWidgets/qgraphicsitem.h>
+#include <QtWidgets/qstyleoption.h>
#include <private/qgraphicseffect_p.h>