Replace AUTO_RESOURCE_PREFIX with REQUIRES

Pick-to: 6.5
Change-Id: Id6a371d8afcca65e0f1e010f4a681c4e5673e1ba
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Amir Masoud Abdol 2023-04-06 11:19:04 +02:00
parent 7df77e6996
commit 67aac2075a
1 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,7 @@ endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/demos/${PROJECT_NAME}")
find_package(Qt6 REQUIRED COMPONENTS Core Gui Qml Quick)
qt_standard_project_setup()
qt_standard_project_setup(REQUIRES 6.5)
qt_add_executable(colorpaletteclient
main.cpp
@ -38,7 +38,6 @@ qt_add_resources(colorpaletteclient "theme" FILES
qt_add_qml_module(colorpaletteclient
URI ColorPalette
VERSION 1.0
AUTO_RESOURCE_PREFIX
QML_FILES
MainWindow.qml
SOURCES