diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-04-13 03:03:05 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-04-13 03:03:05 +0200 |
commit | 96b435525b17f1e16be953e01cd1f573e4342c2f (patch) | |
tree | 624f87498aacf0235cfc71e10e1584ac5da0154a /src/imports/scxmlstatemachine/plugin.cpp | |
parent | 844fae552b5a15901d7e0d337b37fc57589fe2c3 (diff) | |
parent | acddb0676cafdc83edd08aee87181bf5602d6387 (diff) |
Merge remote-tracking branch 'origin/5.13' into dev
Change-Id: I76b32ad6f263b4a45c0f7c9b40a121528dd3bc14
Diffstat (limited to 'src/imports/scxmlstatemachine/plugin.cpp')
-rw-r--r-- | src/imports/scxmlstatemachine/plugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/scxmlstatemachine/plugin.cpp b/src/imports/scxmlstatemachine/plugin.cpp index 35d5668..69c2992 100644 --- a/src/imports/scxmlstatemachine/plugin.cpp +++ b/src/imports/scxmlstatemachine/plugin.cpp @@ -74,6 +74,10 @@ public: qmlRegisterType<QScxmlInvokedServices>(uri, major, minor, "InvokedServices"); qmlRegisterExtendedUncreatableType<QScxmlStateMachine, QScxmlStateMachineExtended>( uri, major, minor, "StateMachine", "Only created through derived types"); + + // Auto-increment the import to stay in sync with ALL future QtQuick minor versions + qmlRegisterModule(uri, major, QT_VERSION_MINOR); + qmlProtectModule(uri, 1); } }; |