summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicssceneindex
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-23 16:49:06 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-23 16:49:06 +0200
commit6a3dce19957535d9b9b7311a487469ed7566ac25 (patch)
tree7a6dffcc9080e67fc30201590a700a5a3e261be3 /tests/auto/qgraphicssceneindex
parent37d76a679878d7c07f8a2cb17f7bda46f6582572 (diff)
Tests: Compile.
Diffstat (limited to 'tests/auto/qgraphicssceneindex')
-rw-r--r--tests/auto/qgraphicssceneindex/qgraphicssceneindex.pro1
-rw-r--r--tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qgraphicssceneindex/qgraphicssceneindex.pro b/tests/auto/qgraphicssceneindex/qgraphicssceneindex.pro
index 0d0fd0db1a..5e61034d7c 100644
--- a/tests/auto/qgraphicssceneindex/qgraphicssceneindex.pro
+++ b/tests/auto/qgraphicssceneindex/qgraphicssceneindex.pro
@@ -1,5 +1,6 @@
load(qttest_p4)
requires(contains(QT_CONFIG,private_tests))
+QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qgraphicssceneindex.cpp
CONFIG += parallel_test
diff --git a/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp b/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
index fe949742cd..3949b5f32e 100644
--- a/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
+++ b/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
@@ -41,7 +41,7 @@
#include <QtTest/QtTest>
-#include <QtGui/qgraphicsscene.h>
+#include <QtWidgets/qgraphicsscene.h>
#include <private/qgraphicsscenebsptreeindex_p.h>
#include <private/qgraphicssceneindex_p.h>
#include <private/qgraphicsscenelinearindex_p.h>