summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amir.abdol@qt.io>2023-04-06 11:19:04 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-06 09:48:03 +0000
commitd7296076ffd3f1eaaf8e1206d07d86c49b8b03e2 (patch)
treeda7bb341ff05c4513856be5a3407ffa0169b6c31
parent430bca21684e8ef9a5a5aa7125d7cc43f73da661 (diff)
downloadqtdoc-d7296076ffd3f1eaaf8e1206d07d86c49b8b03e2.tar.gz
Replace AUTO_RESOURCE_PREFIX with REQUIRES
Change-Id: Id6a371d8afcca65e0f1e010f4a681c4e5673e1ba Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 67aac2075a262ba18cd15d4876278e59bdda9b51) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/demos/colorpaletteclient/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/demos/colorpaletteclient/CMakeLists.txt b/examples/demos/colorpaletteclient/CMakeLists.txt
index 47aeaf00..5b8f1a14 100644
--- a/examples/demos/colorpaletteclient/CMakeLists.txt
+++ b/examples/demos/colorpaletteclient/CMakeLists.txt
@@ -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