aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shapes
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-06-10 15:51:08 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-01-27 19:16:39 +0100
commit2d44365f69b9bc946d085c6b149e2ac319700265 (patch)
tree966cc5dcab9ef9bc3f9ab255b602bf624b692bd0 /examples/quick/shapes
parentd34d035022f9c7b9957cfb2abe0ba90486416ae2 (diff)
CMake: Allow omitting the version of QML modules
Also, drop all the VERSION 1.0 lines from the examples and tests. 1.0 is actually a bad default version since it's before all the Qt versions. [ChangeLog][QML] You can now omit the VERSION argument to qt_add_qml_module(). This will automatically generate the highest possible version. Pick-to: 6.5 Task-number: QTBUG-99146 Change-Id: Ic10ec69b87c224e0e94e1785f65653815d4c778c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'examples/quick/shapes')
-rw-r--r--examples/quick/shapes/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/quick/shapes/CMakeLists.txt b/examples/quick/shapes/CMakeLists.txt
index 5c6348ab04..40fd459bf0 100644
--- a/examples/quick/shapes/CMakeLists.txt
+++ b/examples/quick/shapes/CMakeLists.txt
@@ -33,7 +33,6 @@ add_dependencies(shapesexample shapes_shared)
qt_add_qml_module(shapesexample
URI shapes
- VERSION 1.0
AUTO_RESOURCE_PREFIX
QML_FILES
"clippedtigers.qml"