aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/mousearea
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-11-14 11:39:42 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-11-15 12:24:38 +0000
commit91e32f86b53bb930405a58e19c84746ee85cdf89 (patch)
tree3419986b62355e718551b83a514c1169480a8ed0 /tests/manual/mousearea
parent387f360b3b2634094889478f2b258e65a70b9aa6 (diff)
Regenerate remaining tests to be in sync
Change-Id: I200c8f58ad13bc1bc78409a3ce49348584ba5b51 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/manual/mousearea')
-rw-r--r--tests/manual/mousearea/CMakeLists.txt36
1 files changed, 22 insertions, 14 deletions
diff --git a/tests/manual/mousearea/CMakeLists.txt b/tests/manual/mousearea/CMakeLists.txt
index 631351d035..ca676bc542 100644
--- a/tests/manual/mousearea/CMakeLists.txt
+++ b/tests/manual/mousearea/CMakeLists.txt
@@ -4,7 +4,7 @@
## mousearea Binary:
#####################################################################
-add_qt_executable(mousearea
+add_qt_manual_test(mousearea
GUI
SOURCES
main.cpp
@@ -15,12 +15,16 @@ add_qt_executable(mousearea
)
# Resources:
+set(qml_resource_files
+ "main.qml"
+ "plainMouseArea.qml"
+)
+
add_qt_resource(mousearea "qml"
PREFIX
"/"
FILES
- main.qml
- plainMouseArea.qml
+ ${qml_resource_files}
)
set_source_files_properties("../../../examples/quick/shared/Button.qml"
PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
@@ -55,23 +59,27 @@ set_source_files_properties("../../../examples/quick/shared/images/next.png"
set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png"
PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
)
+set(quick_shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/slider_handle.png"
+)
+
add_qt_resource(mousearea "quick_shared"
PREFIX
"/quick/shared"
BASE
"../../../examples/quick/shared"
FILES
- Button.qml
- CheckBox.qml
- Label.qml
- LauncherList.qml
- SimpleLauncherDelegate.qml
- Slider.qml
- TextField.qml
- images/back.png
- images/checkmark.png
- images/next.png
- images/slider_handle.png
+ ${quick_shared_resource_files}
)