aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/plugin.cpp')
-rw-r--r--src/effects/plugin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/effects/plugin.cpp b/src/effects/plugin.cpp
index d2baba2..7b33636 100644
--- a/src/effects/plugin.cpp
+++ b/src/effects/plugin.cpp
@@ -53,7 +53,9 @@ public:
virtual void registerTypes(const char *uri)
{
Q_ASSERT(QLatin1String(uri) == QLatin1String("QtGraphicalEffects"));
- Q_UNUSED(uri);
+
+ // Auto-increment the import to stay in sync with ALL future QtQuick minor versions from 5.12 onward
+ qmlRegisterModule(uri, 1, QT_VERSION_MINOR);
}
};