diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-02-25 12:38:11 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-02-25 19:44:50 +0000 |
commit | 68556b95bcac62c78c7d2a8bcc99ef90749209d1 (patch) | |
tree | 461ef6b927db5d000291d8b11c0e286a3ce63c2e /src/imports/winextras/plugin.cpp | |
parent | 7c8f340c1d59975cc48f70e1a2b4ddb445f2e97d (diff) |
Make QML import available under 1.QT_MINOR_VERSION
Fixes: QTBUG-74038
Change-Id: I7e48806bc99bbfc0a5df6db9610e1a4de831ae1f
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/imports/winextras/plugin.cpp')
-rw-r--r-- | src/imports/winextras/plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/winextras/plugin.cpp b/src/imports/winextras/plugin.cpp index a2009b0..f53cdf7 100644 --- a/src/imports/winextras/plugin.cpp +++ b/src/imports/winextras/plugin.cpp @@ -61,6 +61,7 @@ public: void registerTypes(const char *uri) Q_DECL_OVERRIDE { Q_ASSERT(uri == QLatin1String("QtWinExtras")); + qmlRegisterModule(uri, 1, QT_VERSION_MINOR); qmlRegisterUncreatableType<QQuickWin>(uri, 1, 0, "QtWin", "Cannot create an instance of the QtWin namespace."); qmlRegisterType<QQuickDwmFeatures>(uri, 1, 0, "DwmFeatures"); qmlRegisterType<QQuickTaskbarButton>(uri, 1, 0, "TaskbarButton"); |