Fix warning related to the deprecated AUTORESOURCE_PREFIX argument

Replace the AUTORESOURCE_PREFIX argument with the explicit
RESOURCE_PREFIX.

Pick-to: 6.5
Change-Id: Iac73ba194ed1af07456dde7df9cd95fa55e5e024
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
This commit is contained in:
Alexey Edelev 2023-05-15 11:40:26 +02:00
parent 95b8963da6
commit 30104d3c72
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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