summaryrefslogtreecommitdiffstats
path: root/tests/manual/gooch-qml
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-05-18 15:27:48 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-06-04 15:43:42 +0200
commitc1ae8a2812349a2254b3c4a4a4eea23db5567302 (patch)
tree4079c8c65d2d8bf5fc93b0f8d35efe980f20766c /tests/manual/gooch-qml
parentceb1dfb6264eb5f5ee7cac093d7c878eb59196a4 (diff)
Use fixed qt_add_resource BASE argument
Task-number: QTBUG-86726 Change-Id: I2a7748b67b55008962809ece1a34c6cf2a0617bb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/manual/gooch-qml')
-rw-r--r--tests/manual/gooch-qml/CMakeLists.txt26
1 files changed, 6 insertions, 20 deletions
diff --git a/tests/manual/gooch-qml/CMakeLists.txt b/tests/manual/gooch-qml/CMakeLists.txt
index e287724ef..e865d5e0d 100644
--- a/tests/manual/gooch-qml/CMakeLists.txt
+++ b/tests/manual/gooch-qml/CMakeLists.txt
@@ -31,27 +31,13 @@ qt_internal_add_resource(gooch-qml "gooch-qml"
FILES
${gooch-qml_resource_files}
)
-set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/ball.obj"
- PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj"
-)
-set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/material-sphere.obj"
- PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj"
-)
-set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/plane-10x10.obj"
- PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj"
-)
-set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/toyplane.obj"
- PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj"
-)
-set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/trefoil.obj"
- PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj"
-)
+
set(obj_resource_files
- "assets/obj/ball.obj"
- "assets/obj/material-sphere.obj"
- "assets/obj/plane-10x10.obj"
- "assets/obj/toyplane.obj"
- "assets/obj/trefoil.obj"
+ "../../../examples/qt3d/exampleresources/assets/obj/ball.obj"
+ "../../../examples/qt3d/exampleresources/assets/obj/material-sphere.obj"
+ "../../../examples/qt3d/exampleresources/assets/obj/plane-10x10.obj"
+ "../../../examples/qt3d/exampleresources/assets/obj/toyplane.obj"
+ "../../../examples/qt3d/exampleresources/assets/obj/trefoil.obj"
)
qt_internal_add_resource(gooch-qml "obj"