summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amir.abdol@qt.io>2023-05-15 10:11:04 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-31 14:58:39 +0000
commitd35bdb3464d96908f31ef7aea98c85cad78235f0 (patch)
tree64d89aa49ccd72ceafbf0ff48ad61b7d635249f1
parentd2c7b12fdd6d2fc02952841cd942747f70ffcbba (diff)
Remove AUTO_RESOURCE_PREFIX
AUTO_RESOURCE_PREFIX is deprecated, and we should instead use `qt_standard_project-setup(REQUIRES` which leverages the Qt CMake policy mechanism, and requiring Qt 6.5. Change-Id: I64a90456d927be9751ad167f4a647b5406f328a2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 74db308c0872281d3a565fb1dee7a98265c12e59) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/nfc/ndefeditor/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/nfc/ndefeditor/CMakeLists.txt b/examples/nfc/ndefeditor/CMakeLists.txt
index a3b2c80c..866ec3c7 100644
--- a/examples/nfc/ndefeditor/CMakeLists.txt
+++ b/examples/nfc/ndefeditor/CMakeLists.txt
@@ -14,6 +14,8 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/nfc/ndefeditor")
find_package(Qt6 REQUIRED COMPONENTS Core Nfc Quick QuickControls2)
+qt_standard_project_setup(REQUIRES 6.5)
+
qt_add_executable(ndefeditor
main.cpp
)
@@ -33,7 +35,6 @@ qt_add_resources(ndefeditor "theme" FILES
qt_add_qml_module(ndefeditor
URI NdefEditor
VERSION 1.0
- AUTO_RESOURCE_PREFIX
QML_FILES
Main.qml
MainWindow.qml