summaryrefslogtreecommitdiffstats
path: root/src/imports/scxmlstatemachine/plugin.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-04-13 03:03:05 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-04-13 03:03:05 +0200
commit96b435525b17f1e16be953e01cd1f573e4342c2f (patch)
tree624f87498aacf0235cfc71e10e1584ac5da0154a /src/imports/scxmlstatemachine/plugin.cpp
parent844fae552b5a15901d7e0d337b37fc57589fe2c3 (diff)
parentacddb0676cafdc83edd08aee87181bf5602d6387 (diff)
Merge remote-tracking branch 'origin/5.13' into dev
Diffstat (limited to 'src/imports/scxmlstatemachine/plugin.cpp')
-rw-r--r--src/imports/scxmlstatemachine/plugin.cpp4
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);
}
};