diff options
author | Ulf Hermann <[email protected]> | 2022-06-10 15:51:08 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2023-01-27 19:16:39 +0100 |
commit | 2d44365f69b9bc946d085c6b149e2ac319700265 (patch) | |
tree | 966cc5dcab9ef9bc3f9ab255b602bf624b692bd0 /examples/quickcontrols/chattutorial/chapter2 | |
parent | d34d035022f9c7b9957cfb2abe0ba90486416ae2 (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 <[email protected]>
Reviewed-by: Alexey Edelev <[email protected]>
Reviewed-by: Fabian Kosmale <[email protected]>
Reviewed-by: Sami Shalayel <[email protected]>
Diffstat (limited to 'examples/quickcontrols/chattutorial/chapter2')
-rw-r--r-- | examples/quickcontrols/chattutorial/chapter2/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/quickcontrols/chattutorial/chapter2/CMakeLists.txt b/examples/quickcontrols/chattutorial/chapter2/CMakeLists.txt index 4bf3e834cd..0669626a06 100644 --- a/examples/quickcontrols/chattutorial/chapter2/CMakeLists.txt +++ b/examples/quickcontrols/chattutorial/chapter2/CMakeLists.txt @@ -27,7 +27,6 @@ target_link_libraries(chattutorial-chapter2 PRIVATE qt_add_qml_module(chattutorial-chapter2 URI chapter2 - VERSION 1.0 QML_FILES "main.qml" RESOURCES |