summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-05-15 11:40:26 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-15 11:22:09 +0000
commit44d734bfa24d4151f448c928649dac03b4ee8632 (patch)
tree148f117dd2aef654cd0ddf402bb6a8bef757ff34
parentba236b3e1ecc3b3094a0c0b2f64104743f11851b (diff)
Fix warning related to the deprecated AUTORESOURCE_PREFIX argument
Replace the AUTORESOURCE_PREFIX argument with the explicit RESOURCE_PREFIX. Change-Id: Iac73ba194ed1af07456dde7df9cd95fa55e5e024 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> (cherry picked from commit 30104d3c7286d164d882f4ebdaec64d0eb6fb1a2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/grpc/chat/client/CMakeLists.txt2
-rw-r--r--examples/grpc/magic8ball/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/grpc/chat/client/CMakeLists.txt b/examples/grpc/chat/client/CMakeLists.txt
index d567656..6910190 100644
--- a/examples/grpc/chat/client/CMakeLists.txt
+++ b/examples/grpc/chat/client/CMakeLists.txt
@@ -23,7 +23,7 @@ qt_add_executable(grpcchatclient
qt_add_qml_module(grpcchatclient
URI qtgrpc.examples.chat
VERSION 1.0
- AUTO_RESOURCE_PREFIX
+ RESOURCE_PREFIX "/qt/qml"
QML_FILES
Main.qml
ChatInputField.qml
diff --git a/examples/grpc/magic8ball/CMakeLists.txt b/examples/grpc/magic8ball/CMakeLists.txt
index 9d645d2..642be0d 100644
--- a/examples/grpc/magic8ball/CMakeLists.txt
+++ b/examples/grpc/magic8ball/CMakeLists.txt
@@ -35,7 +35,7 @@ set_target_properties(magic8ball PROPERTIES
qt_add_qml_module(magic8ball
URI qtgrpc.examples.magic8ball
VERSION 1.0
- AUTO_RESOURCE_PREFIX
+ RESOURCE_PREFIX "/qt/qml"
SOURCES
clientservice.h
clientservice.cpp