diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-06-10 16:00:22 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-06-10 19:16:27 +0200 |
commit | b2095ffb1ef1b29e0927b2fba35b8ee19c3700a9 (patch) | |
tree | 1820e0aa2035252f604da176f9cc523f02c9fc31 /tests/auto/quick/pointerhandlers/mousearea_interop | |
parent | 0f5d80f71a2be039029d41af480b4476f749c8f4 (diff) |
cmake: Enable tests for pointerhandlers
Also add the missing cmake file for mousearea_interop
Task-number: QTBUG-84869
Change-Id: I7e48653c815aaaa3e23824783f6a0ff390c0907a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/quick/pointerhandlers/mousearea_interop')
-rw-r--r-- | tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt b/tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt new file mode 100644 index 0000000000..5783c2dc60 --- /dev/null +++ b/tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from mousearea_interop.pro. + +##################################################################### +## tst_mousearea_interop Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_mousearea_interop + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_mousearea_interop.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + PUBLIC_LIBRARIES + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:mousearea_interop.pro:<TRUE>: +# OTHER_FILES = "data/dragTakeOverFromSibling.qml" + +## Scopes: +##################################################################### + +qt_extend_target(tst_mousearea_interop CONDITION ANDROID OR IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +qt_extend_target(tst_mousearea_interop CONDITION NOT ANDROID AND NOT IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) |