summaryrefslogtreecommitdiff
path: root/src/imports/webchannel/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/webchannel/plugin.cpp')
-rw-r--r--src/imports/webchannel/plugin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/imports/webchannel/plugin.cpp b/src/imports/webchannel/plugin.cpp
index b6d4018..45d83b1 100644
--- a/src/imports/webchannel/plugin.cpp
+++ b/src/imports/webchannel/plugin.cpp
@@ -61,8 +61,9 @@ void QWebChannelPlugin::registerTypes(const char *uri)
int minor = 0;
qmlRegisterType<QQmlWebChannel>(uri, major, minor, "WebChannel");
- // Auto-increment the import to stay in sync with ALL future QtQuick minor versions
- qmlRegisterModule(uri, major, QT_VERSION_MINOR);
+ // The minor version used to be the current Qt 5 minor. For compatibility it is the last
+ // Qt 5 release.
+ qmlRegisterModule(uri, major, 15);
}
QT_END_NAMESPACE