summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r--tests/auto/widgets/dialogs/qwizard/CMakeLists.txt16
-rw-r--r--tests/auto/widgets/kernel/qwidget/CMakeLists.txt17
2 files changed, 21 insertions, 12 deletions
diff --git a/tests/auto/widgets/dialogs/qwizard/CMakeLists.txt b/tests/auto/widgets/dialogs/qwizard/CMakeLists.txt
index daefe76139..4f8e9a4a5c 100644
--- a/tests/auto/widgets/dialogs/qwizard/CMakeLists.txt
+++ b/tests/auto/widgets/dialogs/qwizard/CMakeLists.txt
@@ -5,19 +5,25 @@
#####################################################################
add_qt_test(tst_qwizard
+ GUI
SOURCES
tst_qwizard.cpp
tst_qwizard_2.cpp
PUBLIC_LIBRARIES
+ Qt::Gui
Qt::Widgets
)
# Resources:
-add_qt_resource(tst_qwizard "qwizard" FILES
- images/background.png
- images/banner.png
- images/logo.png
- images/watermark.png)
+add_qt_resource(tst_qwizard "qwizard"
+ PREFIX
+ "/"
+ FILES
+ images/background.png
+ images/banner.png
+ images/logo.png
+ images/watermark.png
+)
#### Keys ignored in scope 1:.:.:qwizard.pro:<TRUE>:
diff --git a/tests/auto/widgets/kernel/qwidget/CMakeLists.txt b/tests/auto/widgets/kernel/qwidget/CMakeLists.txt
index 86d02ac733..fca2c313a1 100644
--- a/tests/auto/widgets/kernel/qwidget/CMakeLists.txt
+++ b/tests/auto/widgets/kernel/qwidget/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qt_test(tst_qwidget
+ GUI
SOURCES
tst_qwidget.cpp
LIBRARIES
@@ -13,17 +14,19 @@ add_qt_test(tst_qwidget
Qt::TestPrivate
Qt::WidgetsPrivate
PUBLIC_LIBRARIES
- Qt::Core
Qt::Gui
- Qt::Test
Qt::Widgets
)
# Resources:
-add_qt_resource(tst_qwidget "qwidget" FILES
- geometry-fullscreen.dat
- geometry-maximized.dat
- geometry.dat)
+add_qt_resource(tst_qwidget "qwidget"
+ PREFIX
+ "/"
+ FILES
+ geometry-fullscreen.dat
+ geometry-maximized.dat
+ geometry.dat
+)
#### Keys ignored in scope 1:.:.:qwidget.pro:<TRUE>:
@@ -33,7 +36,7 @@ add_qt_resource(tst_qwidget "qwidget" FILES
## Scopes:
#####################################################################
-extend_target(tst_qwidget CONDITION APPLE_OSX
+extend_target(tst_qwidget CONDITION APPLE
SOURCES
tst_qwidget_mac_helpers.mm
PUBLIC_LIBRARIES