diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-04-17 15:44:44 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-07-04 16:43:34 +0000 |
commit | 5ccc595db4e9282f6a58f8712550eda935a6eecb (patch) | |
tree | 96d9f82d6a06869f98b2cf2354d2717c7637901d /src/imports/location | |
parent | 854ec4470b9826d03aa2914e96f9de99f875d968 (diff) | |
download | qtlocation-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')
-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); |