diff options
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r-- | src/imports/location/location.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp index 15e3da24..fc2b62c3 100644 --- a/src/imports/location/location.cpp +++ b/src/imports/location/location.cpp @@ -186,6 +186,10 @@ public: qmlRegisterType<QDeclarativeGeoServiceProvider, 11>(uri, major, minor, "Plugin"); qmlRegisterType<QDeclarativeGeoWaypoint>(uri, major, minor, "Waypoint"); + // Register the 5.12 types + minor = 12; + qmlRegisterType<QDeclarativeGeoMapItemView, 12>(uri, major, minor, "MapItemView"); + // Register the latest Qt version as QML type version qmlRegisterModule(uri, QT_VERSION_MAJOR, QT_VERSION_MINOR); |