diff options
| author | Joerg Bornemann <[email protected]> | 2022-09-23 17:56:03 +0200 |
|---|---|---|
| committer | Joerg Bornemann <[email protected]> | 2022-10-26 09:03:50 +0200 |
| commit | ab9d196432b54c652006f3832bb301f8642364d1 (patch) | |
| tree | ef50731b4eb7297cc943976e90ea523139d6c9eb | |
| parent | a818d49aa58c7ff871f89f7db4b1234402092994 (diff) | |
Fix CMake warnings in test_qml_app_deployment
We need to specify a RESOURCE_PREFIX argument for qt_add_qml_module to
avoid warnings like "Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX
are specified for XYZ.".
Change-Id: I7458ffd7603adcef9c147a938ac589ec64d66342
Reviewed-by: Amir Masoud Abdol <[email protected]>
Reviewed-by: Alexandru Croitor <[email protected]>
| -rw-r--r-- | tests/auto/cmake/test_qml_app_deployment/Shapes/EllipseShape/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | tests/auto/cmake/test_qml_app_deployment/Shapes/FunkyShape/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/cmake/test_qml_app_deployment/Shapes/EllipseShape/CMakeLists.txt b/tests/auto/cmake/test_qml_app_deployment/Shapes/EllipseShape/CMakeLists.txt index f153d8ecd0..90cea17864 100644 --- a/tests/auto/cmake/test_qml_app_deployment/Shapes/EllipseShape/CMakeLists.txt +++ b/tests/auto/cmake/test_qml_app_deployment/Shapes/EllipseShape/CMakeLists.txt @@ -5,6 +5,7 @@ qt_add_qml_module(EllipseShape URI Shapes.EllipseShape VERSION 1.0 SOURCES ellipseitem.cpp ellipseitem.h + RESOURCE_PREFIX / ) target_link_libraries(EllipseShape diff --git a/tests/auto/cmake/test_qml_app_deployment/Shapes/FunkyShape/CMakeLists.txt b/tests/auto/cmake/test_qml_app_deployment/Shapes/FunkyShape/CMakeLists.txt index df884d4992..9c2d45636d 100644 --- a/tests/auto/cmake/test_qml_app_deployment/Shapes/FunkyShape/CMakeLists.txt +++ b/tests/auto/cmake/test_qml_app_deployment/Shapes/FunkyShape/CMakeLists.txt @@ -6,6 +6,7 @@ qt_add_qml_module(FunkyShape VERSION 1.0 QML_FILES FunkyItemQml.qml SOURCES funkyitem.cpp funkyitem.h + RESOURCE_PREFIX / ) target_link_libraries(FunkyShape PRIVATE |
