diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-09-21 12:31:47 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-09-26 22:24:50 +0200 |
commit | fdbbfa4a6723b816478ee011ab4098e5332dc2f5 (patch) | |
tree | 6e6d6a68f7edf0ec5ee85495d316d1ff34bbee71 /src/imports/location/location.cpp | |
parent | a94cefd446dd192172f47f183b56bbb719e95ee4 (diff) | |
download | qtlocation-fdbbfa4a6723b816478ee011ab4098e5332dc2f5.tar.gz |
Remove MapObjects from labs
The feature was designed to enable map backends to implement their own
rendering of the map, and map items. It was never really used by any of
the backends we supported, and introduced a lot of complexity to the
code base.
The idea as such has perhaps merit, but for now we focus on the basic
functionality of Qt Location. Support for Qt Location when the Qt
Quick scene graph is not used is not a part of that.
Change-Id: I08e460043a0bd2600bad79b6ce2bb18e40e19eb6
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r-- | src/imports/location/location.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp index 0b5ddd65..d9a3b9a4 100644 --- a/src/imports/location/location.cpp +++ b/src/imports/location/location.cpp @@ -55,7 +55,6 @@ #include <QtLocation/private/qdeclarativegeomapparameter_p.h> #include <QtLocation/private/qdeclarativegeomapcopyrightsnotice_p.h> #include <QtLocation/private/qdeclarativegeomapitemgroup_p.h> -#include <QtLocation/private/qgeomapobject_p.h> //Place includes #include <QtLocation/private/qdeclarativecategory_p.h> @@ -222,7 +221,6 @@ public: // Register the 5.11 types minor = 11; - qmlRegisterAnonymousType<QGeoMapObject>(uri, major); qmlRegisterType<QDeclarativeGeoMap, 11>(uri, major, minor, "Map"); qmlRegisterUncreatableType<QDeclarativeGeoMapItemBase, 11>(uri, major, minor, "GeoMapItemBase", QStringLiteral("GeoMapItemBase is not intended instantiable by developer.")); |