diff options
| author | Sze Howe Koh <szehowe.koh@gmail.com> | 2025-09-19 16:41:25 +0800 |
|---|---|---|
| committer | Sze Howe Koh <szehowe.koh@gmail.com> | 2025-10-28 19:21:52 +0800 |
| commit | bd4e0441688758d7e73aef43bd8633d68370f7f7 (patch) | |
| tree | c42ca0466eb8ff763ebb848f5323a1707cf8ebdf /examples/quickcontrols | |
| parent | e51223c77ca9ff05e7a2db8e7598c762a9918b9b (diff) | |
Examples: Stop using version numbers with QML modules
Continues 2d44365f69b9bc946d085c6b149e2ac319700265 and
b7f448f8647a9a118cee2d79d446194b20d4b335
* Qt 6.0 enabled and encouraged users to import QML modules without
specifying a version number
* Qt 6.5 enabled and encouraged users to create QML modules without
specifying a version number
With this approach, there is little benefit in specifying
QT_QML_SOURCE_VERSIONS, especially in an example module that is not
consumed by external software. It does not need to worry about
compatibility/versioning.
Task-number: QTBUG-89033
Task-number: QTBUG-140406
Change-Id: I7f83dc7430180b79b70c75e7ce7b3aef46a028ae
Pick-to: 6.10 6.8
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/quickcontrols')
3 files changed, 0 insertions, 3 deletions
diff --git a/examples/quickcontrols/filesystemexplorer/CMakeLists.txt b/examples/quickcontrols/filesystemexplorer/CMakeLists.txt index ea388521d9..e69f633894 100644 --- a/examples/quickcontrols/filesystemexplorer/CMakeLists.txt +++ b/examples/quickcontrols/filesystemexplorer/CMakeLists.txt @@ -24,7 +24,6 @@ set_source_files_properties(qml/Colors.qml qt_add_qml_module(filesystemexplorer URI FileSystemModule - VERSION 1.0 QML_FILES "Main.qml" "qml/About.qml" diff --git a/examples/quickcontrols/spreadsheets/Spreadsheets/CMakeLists.txt b/examples/quickcontrols/spreadsheets/Spreadsheets/CMakeLists.txt index 03e78452d5..561f3dd37e 100644 --- a/examples/quickcontrols/spreadsheets/Spreadsheets/CMakeLists.txt +++ b/examples/quickcontrols/spreadsheets/Spreadsheets/CMakeLists.txt @@ -9,7 +9,6 @@ qt_add_library(${PROJECT_NAME} STATIC) qt_add_qml_module(${PROJECT_NAME} URI ${PROJECT_NAME} - VERSION 1.0 QML_FILES Main.qml HeaderToolBar.qml diff --git a/examples/quickcontrols/tableofcontents/CMakeLists.txt b/examples/quickcontrols/tableofcontents/CMakeLists.txt index db1a42197f..9308757819 100644 --- a/examples/quickcontrols/tableofcontents/CMakeLists.txt +++ b/examples/quickcontrols/tableofcontents/CMakeLists.txt @@ -22,7 +22,6 @@ qt_add_resources(apptableofcontents "contentdata" qt_add_qml_module(apptableofcontents URI tableofcontents - VERSION 1.0 QML_FILES Main.qml SOURCES |
