summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtouchevent/qtouchevent.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qtouchevent/qtouchevent.pro')
-rw-r--r--tests/manual/qtouchevent/qtouchevent.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/qtouchevent/qtouchevent.pro b/tests/manual/qtouchevent/qtouchevent.pro
index aa4339f693..6a1ca85335 100644
--- a/tests/manual/qtouchevent/qtouchevent.pro
+++ b/tests/manual/qtouchevent/qtouchevent.pro
@@ -1,4 +1,5 @@
-QT += widgets testlib
+QT += testlib
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES = main.cpp \
touchwidget.cpp
FORMS += form.ui