From de27215766f13cb5c870e6a1285836164d6e574c Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 27 Aug 2021 11:38:31 +0200 Subject: Use .0 as default version for QML files Using the full module versions presents problems if you bump the minor version of your module. Bumping the minor version then bumps the versions of all QML files not explicitly versioned. This is certainly not what you want as the files should still be available to imports of the old version. Having it default to minor version 0 is more practical because many QML files are available from version 0 of their respective modules. Now you need to add version entries for files you add after .0 in order for them not to show up in imports of earlier versions. This is less of a problem, though, even if you forget it. In addition, use PAST_MAJOR_VERSIONS to derive additional versions to be added to the QML files. This allows us to drop a lot of boiler plate code from our own modules. Pick-to: 6.2 Change-Id: I8e4cfc16180af30e8bafc0a62137e9018f7eaee8 Reviewed-by: Alexandru Croitor Reviewed-by: Fabian Kosmale --- src/qmltest/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/qmltest') diff --git a/src/qmltest/CMakeLists.txt b/src/qmltest/CMakeLists.txt index b823c48d82..0a3dd4abd1 100644 --- a/src/qmltest/CMakeLists.txt +++ b/src/qmltest/CMakeLists.txt @@ -2,9 +2,6 @@ ## QuickTest Module: ##################################################################### -set_source_files_properties(TestCase.qml SignalSpy.qml PROPERTIES - QT_QML_SOURCE_VERSION "1.0;6.0" -) set_source_files_properties(testlogger.js PROPERTIES QT_QML_SKIP_QMLDIR_ENTRY TRUE ) -- cgit v1.2.3