diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-06-16 17:07:46 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-06-20 07:33:32 +0000 |
commit | 648eece1741f8287678a56989e4776e5009df341 (patch) | |
tree | d66dc9457efd147856f9d4e6984de7649033250d /tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h | |
parent | 505b6a6d039405386c691d1a3edc94e8f6259fc2 (diff) |
Qml: Allow major version of module to be zero
If there is no QML.AddedInVersion then the component should be available
from version X.0, with X being the current version of the module.
Amends 464abaec05e0aa0ab699243412c50a5d5ac30742
Fixes: QTBUG-104373
Change-Id: If30b66df384fe815c41d2a0b5ca7b034b9955956
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 9225723a317b8c7e805416592b78aca0ed320049)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h')
-rw-r--r-- | tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h index 385d3b6666..f2ccaba618 100644 --- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h +++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h @@ -532,6 +532,7 @@ private slots: void addRemoveVersion_data(); void addRemoveVersion(); + void typeInModuleMajorVersionZero(); private: QByteArray qmltypesData; |