diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-22 15:23:08 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-06 13:19:37 +0200 |
commit | 08adbefa131ef1c934f55cd61716c8ea836ddf02 (patch) | |
tree | 0ae21548926596fb41e7e71c4bb14d1973245bde /tests/auto/qml/qjsengine | |
parent | c52a857c2b6b89abeddeee8489110ab9dd363e53 (diff) |
CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well.
Task-number: QTBUG-86815
Change-Id: I3b964e3baf0cc7040830156dac30358ea1152801
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'tests/auto/qml/qjsengine')
-rw-r--r-- | tests/auto/qml/qjsengine/.prev_CMakeLists.txt | 6 | ||||
-rw-r--r-- | tests/auto/qml/qjsengine/CMakeLists.txt | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qml/qjsengine/.prev_CMakeLists.txt b/tests/auto/qml/qjsengine/.prev_CMakeLists.txt index aaff27ee03..8ea882795b 100644 --- a/tests/auto/qml/qjsengine/.prev_CMakeLists.txt +++ b/tests/auto/qml/qjsengine/.prev_CMakeLists.txt @@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob script/*) list(APPEND test_data ${test_data_glob}) -qt_add_test(tst_qjsengine +qt_internal_add_test(tst_qjsengine SOURCES tst_qjsengine.cpp PUBLIC_LIBRARIES @@ -30,7 +30,7 @@ set(qjsengine_resource_files "translations/translatable_la.qm" ) -qt_add_resource(tst_qjsengine "qjsengine" +qt_internal_add_resource(tst_qjsengine "qjsengine" PREFIX "/" FILES @@ -43,7 +43,7 @@ set(qmake_immediate_resource_files "testmodule.mjs" ) -qt_add_resource(tst_qjsengine "qmake_immediate" +qt_internal_add_resource(tst_qjsengine "qmake_immediate" PREFIX "/" FILES diff --git a/tests/auto/qml/qjsengine/CMakeLists.txt b/tests/auto/qml/qjsengine/CMakeLists.txt index 3fc68ba163..83e13826bf 100644 --- a/tests/auto/qml/qjsengine/CMakeLists.txt +++ b/tests/auto/qml/qjsengine/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT TARGET Threads::Threads) endif() # special case end -qt_add_test(tst_qjsengine +qt_internal_add_test(tst_qjsengine SOURCES tst_qjsengine.cpp PUBLIC_LIBRARIES @@ -39,7 +39,7 @@ set(qjsengine_resource_files "translations/translatable_la.qm" ) -qt_add_resource(tst_qjsengine "qjsengine" +qt_internal_add_resource(tst_qjsengine "qjsengine" PREFIX "/" FILES @@ -52,7 +52,7 @@ set(qmake_immediate_resource_files "testmodule.mjs" ) -qt_add_resource(tst_qjsengine "qmake_immediate" +qt_internal_add_resource(tst_qjsengine "qmake_immediate" PREFIX "/" FILES |