summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/gestures
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/other/gestures')
-rw-r--r--tests/auto/other/gestures/gestures.pro2
-rw-r--r--tests/auto/other/gestures/tst_gestures.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/other/gestures/gestures.pro b/tests/auto/other/gestures/gestures.pro
index a4e78ef4b4..fa87dbddfb 100644
--- a/tests/auto/other/gestures/gestures.pro
+++ b/tests/auto/other/gestures/gestures.pro
@@ -1,5 +1,5 @@
CONFIG += testcase
TARGET = tst_gestures
-QT += widgets testlib
+QT += widgets testlib gui-private
SOURCES += tst_gestures.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/other/gestures/tst_gestures.cpp b/tests/auto/other/gestures/tst_gestures.cpp
index db10877b8a..fb27df5555 100644
--- a/tests/auto/other/gestures/tst_gestures.cpp
+++ b/tests/auto/other/gestures/tst_gestures.cpp
@@ -52,6 +52,7 @@
#include <qgraphicswidget.h>
#include <qgraphicsview.h>
#include <qmainwindow.h>
+#include <QtGui/QWindowSystemInterface>
#include <qdebug.h>