Details
Description
The split of QtLocation into QtLocation and QtPositioning caused a split of the attached QtLocation QML module. Unfortunately the QtLocation QML module depends on types provided by the QtPositioning QML module. This affects the following classes:
- DeclarativeGeoLocation
- DeclarativeGeoAddress
Since a plugin cannot export the symbols the above two classes were moved into the QtPositioning C++ library. Unfortunately this creates a dependency of QtPositioning towards QtQml. In particular the QML_DECLARE_TYPE macro cannot be resolved without QML headers.
There are multiple choices to resolve the issue:
- Leave the dependency in place (aka acceptable dependency)
- Provide yet another library as helper for the QML modules
- Convert geolocation and geoaddress into valuetypes which means QtLocation QML module doesn't require the symbols
Attachments
Issue Links
- replaces
-
QTBUG-36071 When compiling Qt 5.2 with -skip declarative, qtlocation complains about missing qml
- Closed
For Gerrit Dashboard: QTBUG-33220 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
73591,1 | Remove QtQml dependency from QtPositioning. | stable | qt/qtlocation | Status: MERGED | +2 | 0 |