summaryrefslogtreecommitdiff
path: root/src/imports/location/location.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2019-11-21 11:31:00 +0100
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2019-11-21 11:31:00 +0100
commitb2c5fcd3a0a878a39c5e861098e94f29c1ef6b2f (patch)
treecf23b09f65624203d809aae7e909f25cb4a061c7 /src/imports/location/location.cpp
parenta425dd954b4319455fc29372ff2314e7dc81ee77 (diff)
parentcd7edab940934fe8b100172e3e62e7eea5c354e5 (diff)
downloadqtlocation-b2c5fcd3a0a878a39c5e861098e94f29c1ef6b2f.tar.gz
Merge 5.14 into 5.14.0
Change-Id: Id2e7b0a3d3ecefdee377094fa10a1bea4a71d06c
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r--src/imports/location/location.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp
index 40dffd5d..fd53ad7a 100644
--- a/src/imports/location/location.cpp
+++ b/src/imports/location/location.cpp
@@ -131,7 +131,7 @@ public:
qmlRegisterType<QDeclarativePlaceUser >(uri, major, minor, "User");
qmlRegisterType<QDeclarativeRectangleMapItem >(uri, major, minor, "MapRectangle");
qmlRegisterType<QDeclarativeCircleMapItem >(uri, major, minor, "MapCircle");
- qmlRegisterType<QDeclarativeMapLineProperties>();
+ qmlRegisterAnonymousType<QDeclarativeMapLineProperties >(uri, major);
qmlRegisterType<QDeclarativePolylineMapItem >(uri, major, minor, "MapPolyline");
qmlRegisterType<QDeclarativePolygonMapItem >(uri, major, minor, "MapPolygon");
qmlRegisterType<QDeclarativeRouteMapItem >(uri, major, minor, "MapRoute");
@@ -177,7 +177,7 @@ public:
// Register the 5.11 types
minor = 11;
- qmlRegisterType<QGeoMapObject>();
+ qmlRegisterAnonymousType<QGeoMapObject>(uri, major);
qmlRegisterType<QDeclarativeGeoManeuver, 11>(uri, major, minor, "RouteManeuver");
qmlRegisterType<QDeclarativeGeoMap, 11>(uri, major, minor, "Map");
qmlRegisterUncreatableType<QDeclarativeGeoMapItemBase, 11>(uri, major, minor, "GeoMapItemBase",