Replace AUTO_RESOURCE_PREFIX with RESOURCE_PREFIX in qt-cmake-project

Pick-to: 6.5
Change-Id: I53b9e8887e8e79c1c1e836c514171aece8cf35aa
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Amir Masoud Abdol 2023-05-16 12:03:12 +02:00
parent 09597d05f7
commit 574cf24a65
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ handle_type(qml EXTENSIONS .qml .js .mjs MODULES Gui Qml Quick TEMPLATE
URI ${project_name} URI ${project_name}
OUTPUT_DIRECTORY qml OUTPUT_DIRECTORY qml
VERSION 1.0 VERSION 1.0
AUTO_RESOURCE_PREFIX RESOURCE_PREFIX /qt/qml
QML_FILES QML_FILES
@files@ @files@
)" )"

View File

@ -12,7 +12,7 @@ qt_add_qml_module(qml_project
URI qml_project URI qml_project
OUTPUT_DIRECTORY qml OUTPUT_DIRECTORY qml
VERSION 1.0 VERSION 1.0
AUTO_RESOURCE_PREFIX RESOURCE_PREFIX /qt/qml
QML_FILES QML_FILES
TestComponent.qml TestComponent.qml
main.qml main.qml