Replace AUTO_RESOURCE_PREFIX with QTP0001 policy

AUTO_RESOURCE_PREFIX is deprecated, and we should start using our CMake
policies instead.

Pick-to: 6.5
Change-Id: Ic0b317929a2d9b9297d113f4382e895d63673e1d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Amir Masoud Abdol 2023-04-04 10:43:19 +02:00
parent 35026b48a2
commit 4bfb341e36
2 changed files with 4 additions and 2 deletions

View File

@ -13,9 +13,10 @@ qt_internal_add_test(tst_how-to-cpp-button
Qt::QuickTemplates2Private
)
qt_policy(SET QTP0001 NEW)
qt_add_qml_module(tst_how-to-cpp-button
URI MyModule
AUTO_RESOURCE_PREFIX
QML_FILES
Main.qml
SOURCES

View File

@ -13,9 +13,10 @@ qt_internal_add_test(tst_how-to-qml
Qt::QuickTemplates2Private
)
qt_policy(SET QTP0001 NEW)
qt_add_qml_module(tst_how-to-qml
URI HowToQml
AUTO_RESOURCE_PREFIX
QML_FILES
active-focus-debugging/ActiveFocusDebuggingMain.qml
time-picker/TimeComponentLabel.qml