QtLocation OSM custom map is empty
Unsolved
QML and Qt Quick
-
Hello,
I am trying to use custom maps using QtLocation's osm plugin. I've set "osm.mapping.custom.host" parameter to custom http server. set "activeMapType" to "supportedMapTypes[supportedMapTypes.length - 1]". And it works on ubuntu linux. Yet when i cross-compile it for yocto-linux and run the app, it does not show custom map(Nothing but empty sceen). Server is valid since same code when compiled for ubuntu can reach the map.)
Can someone point me in the right direction please?
Snapshot of the code:
Map{ .... plugin: Plugin { name: "osm" PluginParameter { name: "osm.mapping.custom.host"; value: "<hostAddress>:<portNumber>/" } PluginParameter { name: "osm.mapping.providersrepository.disabled"; value: true} } activeMapType: supportedMapTypes[supportedMapTypes.length - 1] .... }
When i run it on yocto it prints below message, but does not print any message on ubuntu.
QGeoTileProviderOsm: Tileserver disabled at QUrl("http://maps-redirect.qt.io/osm/5.8/satellite")