mapboxgl geoservices provider is not supported.
Unsolved
QML and Qt Quick
-
Hi! I'm trying to use the MapboxGL plugin with QML and I'm getting the following error:
The geoservices provider is not supported
. Here is my QML code:import QtQuick 2.7 import QtQuick.Window 2.2 import QtLocation 5.14 import QtPositioning 5.12 Window { width: 512 height: 512 visible: true Map { id: map anchors.fill: parent plugin: Plugin { name: "mapboxgl" PluginParameter { name: 'mapboxgl.access_token' value: 'VALID_MAPBOX_TOKEN' } } } }
If I use the old
mapbox
plugin everything works fine, but I need to usemapboxgl
since the map needs to have labels that rotate. Any suggestions? -
I have the same problem, did you solve it?
-
i have same problem on RPI3 so if u solved it let me know how please
-
Just add "QT += location positioning network opengl concurrent sql sensors" to your pro file. And rebuild your project and it should work fine.