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:
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