summaryrefslogtreecommitdiff
path: root/src/imports/location/location.cpp
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-04-17 15:44:44 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-07-04 16:43:34 +0000
commit5ccc595db4e9282f6a58f8712550eda935a6eecb (patch)
tree96d9f82d6a06869f98b2cf2354d2717c7637901d /src/imports/location/location.cpp
parent854ec4470b9826d03aa2914e96f9de99f875d968 (diff)
downloadqtlocation-5ccc595db4e9282f6a58f8712550eda935a6eecb.tar.gz
Expose add/remove transitions in MapItemView
In this way these transitions can now be customized by the user. Change-Id: I949d0caab65b0e71012bf77baee9c847c8f415a0 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r--src/imports/location/location.cpp4
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);