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/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt') diff --git a/examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt b/examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt index d929d73fe0..85399d8701 100644 --- a/examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt +++ b/examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt @@ -31,7 +31,6 @@ target_link_libraries(rendercontrol_openglexample PRIVATE # Resources: qt_add_qml_module(rendercontrol_openglexample URI rendercontrol - VERSION 1.0 AUTO_RESOURCE_PREFIX QML_FILES "demo.qml" -- cgit v1.2.3