diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-14 18:27:59 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-15 12:22:59 +0000 |
commit | 5e6bf7e22eb3734aa711e9dd885bc5c594f7db4c (patch) | |
tree | fac78a35d68786be46b61b0c8d961f76bb0d4ab4 /tests/auto/palette/CMakeLists.txt | |
parent | 6f617349cf865ca3a7befc0dd472b7c2510fc431 (diff) |
Regenerate projects to be in sync
Change-Id: I3a57449c9025e22414b8337fcffdeb0f4d769af2
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/palette/CMakeLists.txt')
-rw-r--r-- | tests/auto/palette/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/palette/CMakeLists.txt b/tests/auto/palette/CMakeLists.txt index e0ca9bb8..6675af36 100644 --- a/tests/auto/palette/CMakeLists.txt +++ b/tests/auto/palette/CMakeLists.txt @@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob data/*) list(APPEND test_data ${test_data_glob}) -add_qt_test(tst_palette +qt_add_test(tst_palette SOURCES ../shared/qtest_quickcontrols.h ../shared/util.cpp ../shared/util.h @@ -40,7 +40,7 @@ set(qmake_immediate_resource_files "qtquickcontrols2.conf" ) -add_qt_resource(tst_palette "qmake_immediate" +qt_add_resource(tst_palette "qmake_immediate" PREFIX "/" FILES @@ -54,12 +54,12 @@ add_qt_resource(tst_palette "qmake_immediate" ## Scopes: ##################################################################### -extend_target(tst_palette CONDITION ANDROID OR APPLE_IOS +qt_extend_target(tst_palette CONDITION ANDROID OR APPLE_IOS DEFINES QT_QMLTEST_DATADIR=\\\":/data\\\" ) -extend_target(tst_palette CONDITION NOT ANDROID AND NOT APPLE_IOS +qt_extend_target(tst_palette CONDITION NOT ANDROID AND NOT APPLE_IOS DEFINES QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) |