From 2d44365f69b9bc946d085c6b149e2ac319700265 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 10 Jun 2022 15:51:08 +0200 Subject: 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 Reviewed-by: Alexey Edelev Reviewed-by: Fabian Kosmale Reviewed-by: Sami Shalayel --- examples/quickcontrols/imagine/automotive/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'examples/quickcontrols/imagine/automotive/CMakeLists.txt') diff --git a/examples/quickcontrols/imagine/automotive/CMakeLists.txt b/examples/quickcontrols/imagine/automotive/CMakeLists.txt index 6769057db7..94e79a10a8 100644 --- a/examples/quickcontrols/imagine/automotive/CMakeLists.txt +++ b/examples/quickcontrols/imagine/automotive/CMakeLists.txt @@ -20,7 +20,6 @@ qt_add_executable(automotiveexample WIN32 MACOSX_BUNDLE qt_add_qml_module(automotiveexample URI automotive - VERSION 1.0 NO_RESOURCE_TARGET_PATH QML_FILES "qml/FeatureButton.qml" -- cgit v1.2.3