-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
98c13ddae (18.0)
See https://codereview.qt-project.org/c/qt/qtdeclarative/+/456872 which "drop[ped] all the VERSION 1.0 lines from the examples and tests." It goes on to explain that "1.0 is actually a bad default version since it's before all the Qt versions." The same commit updated https://doc.qt.io/qt-6/qt-add-qml-module.html#versions to say "If you don't need versions you should omit the VERSION argument."
Qt 6.5 allows us to omit the QML module's version number. So, when the minimum required Qt version is set to 6.5 or higher, the generated CMakeLists.txt should not contain "VERSION 1.0".
- relates to
-
QTBUG-140406 Examples/Docs: Omit VERSION from qt_add_qml_module()
-
- Reported
-
- resulted from
-
QTBUG-99146 URI and VERSION should be optional in qt_add_qml_module
-
- Open
-