summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/qt3d/simple-qml/CMakeLists.txt2
-rw-r--r--src/quick3d/imports/scene3d/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/simple-qml/CMakeLists.txt b/examples/qt3d/simple-qml/CMakeLists.txt
index 90ebefdd0..9fcc6b8cd 100644
--- a/examples/qt3d/simple-qml/CMakeLists.txt
+++ b/examples/qt3d/simple-qml/CMakeLists.txt
@@ -38,7 +38,7 @@ set(simple-qml_resource_files
"main.qml"
)
-qt6_add_resources(simple-qml "simple-qml"
+qt_add_resource(simple-qml "simple-qml"
PREFIX
"/"
FILES
diff --git a/src/quick3d/imports/scene3d/CMakeLists.txt b/src/quick3d/imports/scene3d/CMakeLists.txt
index ce4a0e51c..7c318754f 100644
--- a/src/quick3d/imports/scene3d/CMakeLists.txt
+++ b/src/quick3d/imports/scene3d/CMakeLists.txt
@@ -59,7 +59,7 @@ set(shader_resource_files
"shaders/scene3dmaterial.frag.qsb"
)
-qt6_add_resources(qtquickscene3dplugin "scene3d"
+qt_add_resource(qtquickscene3dplugin "scene3d"
PREFIX
"/"
FILES