diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-05-04 11:13:36 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-05-04 11:13:45 +0200 |
commit | d0166d20086086fc5c4a8e437ed83fd389ee8643 (patch) | |
tree | 1928c60e483465d4ef8218c801a008afedba99b7 /src/imports/location/location.cpp | |
parent | d44838125389720e4352dd51ad1da02f4cb58dc8 (diff) | |
parent | 139414573ab27bd1df1b491aeb6003a6fc0d3d5d (diff) | |
download | qtlocation-d0166d20086086fc5c4a8e437ed83fd389ee8643.tar.gz |
Merge remote-tracking branch 'origin/5.11.0' into 5.11
Change-Id: I0bb00d16c891856cfbe1042ce166bbd156e9f41b
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r-- | src/imports/location/location.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp index 45b104b9..183d11d3 100644 --- a/src/imports/location/location.cpp +++ b/src/imports/location/location.cpp @@ -183,8 +183,15 @@ public: // Register the 5.11 types minor = 11; - qmlRegisterType<QDeclarativeGeoWaypoint>(uri, major, minor, "Waypoint"); + qmlRegisterType<QDeclarativeGeoManeuver, 11>(uri, major, minor, "RouteManeuver"); + qmlRegisterType<QDeclarativeGeoMap, 11>(uri, major, minor, "Map"); + qmlRegisterUncreatableType<QDeclarativeGeoMapItemBase, 11>(uri, major, minor, "GeoMapItemBase", + QStringLiteral("GeoMapItemBase is not intended instantiable by developer.")); qmlRegisterType<QDeclarativeGeoMapParameter>(uri, major, minor, "DynamicParameter"); + qmlRegisterType<QDeclarativeGeoRoute, 11>(uri, major, minor, "Route"); + qmlRegisterType<QDeclarativeGeoRouteQuery, 11>(uri, major, minor, "RouteQuery"); + qmlRegisterType<QDeclarativeGeoServiceProvider, 11>(uri, major, minor, "Plugin"); + qmlRegisterType<QDeclarativeGeoWaypoint>(uri, major, minor, "Waypoint"); // Register the latest Qt version as QML type version qmlRegisterModule(uri, QT_VERSION_MAJOR, QT_VERSION_MINOR); |