aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-01-09 13:55:22 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2019-01-09 18:49:08 +0000
commit2c15783c02e3abfc3c528d270c448d1d555c8036 (patch)
tree4d378d1aaf4c723c817426b67f0c414ad64fa03e
parent34667d61bf562e7e301f262089c3160e0d854df2 (diff)
Support the import of from 1.0 to 1.QT_VERSION_MINOR-1v5.12.1
Task-number: QTBUG-72270 Change-Id: Id13708b1f4ef5c890037dac8b6225c3e096d88b0 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/effects/plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effects/plugin.cpp b/src/effects/plugin.cpp
index 7b33636..cdd3a80 100644
--- a/src/effects/plugin.cpp
+++ b/src/effects/plugin.cpp
@@ -54,6 +54,8 @@ public:
{
Q_ASSERT(QLatin1String(uri) == QLatin1String("QtGraphicalEffects"));
+ qmlRegisterModule(uri, 1, 0);
+
// Auto-increment the import to stay in sync with ALL future QtQuick minor versions from 5.12 onward
qmlRegisterModule(uri, 1, QT_VERSION_MINOR);
}