summaryrefslogtreecommitdiffstats
path: root/tests/manual/quick/touchbrowser/touchbrowser.pro
diff options
context:
space:
mode:
authorMartin Negyokru <negyokru@inf.u-szeged.hu>2022-05-04 14:40:33 +0200
committerMartin Negyokru <negyokru@inf.u-szeged.hu>2022-12-13 10:25:27 +0200
commitc89fcec0bcb65aae737f2dd733790f74e4303114 (patch)
tree1e800c6043a52a5db9ec0b78bfe53deee9a577bb /tests/manual/quick/touchbrowser/touchbrowser.pro
parentf09573711c9a400dafe56536c90a54170c017699 (diff)
Implement touchbrowser for widgets
Simplify touchMockingApplication. Let QApplication synthesize touch events. Unify quick and widgets touchbrowser. Fixes: QTBUG-100417 Change-Id: If43432996ca18c67f3ae13ab0767d267b27dc9a2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/manual/quick/touchbrowser/touchbrowser.pro')
-rw-r--r--tests/manual/quick/touchbrowser/touchbrowser.pro22
1 files changed, 9 insertions, 13 deletions
diff --git a/tests/manual/quick/touchbrowser/touchbrowser.pro b/tests/manual/quick/touchbrowser/touchbrowser.pro
index 92e4e6703..710584df8 100644
--- a/tests/manual/quick/touchbrowser/touchbrowser.pro
+++ b/tests/manual/quick/touchbrowser/touchbrowser.pro
@@ -1,19 +1,15 @@
TEMPLATE = app
-QT += quick webenginequick
-CONFIG += c++11
+DEFINES += QUICK_TOUCHBROWSER
+QT += core gui quick webenginequick
-SOURCES += \
- main.cpp
+INCLUDEPATH += ../../touchmocking
+SOURCES += \
+ main.cpp \
+ ../../touchmocking/touchmockingapplication.cpp
HEADERS += \
- utils.h
-
-RESOURCES += qml.qrc
+ ../../touchmocking/touchmockingapplication.h \
+ ../../touchmocking/utils.h
-!cross_compile {
- DEFINES += DESKTOP_BUILD
- SOURCES += touchmockingapplication.cpp
- HEADERS += touchmockingapplication.h
- QT += gui-private
-}
+RESOURCES += resources.qrc