Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.1, 6.4.0 Beta1
-
9225723a31 (qt/qtdeclarative/dev) 9225723a31 (qt/tqtc-qtdeclarative/dev) 648eece174 (qt/qtdeclarative/6.3) ba7cc28ee5 (qt/qtdeclarative/6.4) 648eece174 (qt/tqtc-qtdeclarative/6.3) ba7cc28ee5 (qt/tqtc-qtdeclarative/6.4)
Description
Attached example tries to add a module with version 0.1 and MyType is not found in QML. If version is changed to >=1.0, then it works fine.
qt6_add_qml_module(qtbug104373 URI "MyModule" VERSION 0.1 SOURCES mytype.cpp)
Attachments
Issue Links
- relates to
-
QTBUG-117958 qt_add_qml_module does not register QML_SINGLETON classes if version starts with 0
- Closed
For Gerrit Dashboard: QTBUG-104373 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
416820,8 | Qml: Allow major version of module to be zero | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
417120,2 | Qml: Allow major version of module to be zero | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
417121,2 | Qml: Allow major version of module to be zero | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
417336,2 | Add autogen tools dependency to the tst_qmltyperegistrar_major_version_zeroplugin target | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
417549,2 | Add autogen tools dependency to the tst_qmltyperegistrar_major_version_zeroplugin target | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
417550,2 | Add autogen tools dependency to the tst_qmltyperegistrar_major_version_zeroplugin target | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |