The geoservices provider is not supported, linuxdeployqt
-
wrote on 11 Dec 2019, 11:19 last edited by Jamshid 12 Nov 2019, 13:53
Hi there,
I have a project that uses "OSM" map based on qml, I want to create an executable file in Linux using linuxdeployqt. every thing is looks good but when my app runs, won't work! "
It gives this message in terminal: The geoservices provider is not supported."
What should I do??
Thanks. -
Hi there,
I have a project that uses "OSM" map based on qml, I want to create an executable file in Linux using linuxdeployqt. every thing is looks good but when my app runs, won't work! "
It gives this message in terminal: The geoservices provider is not supported."
What should I do??
Thanks.wrote on 11 Dec 2019, 12:19 last edited by@Jamshid you should change the title of your post to something like "The geoservices provider is not supported" to better reflect your issue, since you don't have a problem creating and running the executable file in Linux
-
@Jamshid you should change the title of your post to something like "The geoservices provider is not supported" to better reflect your issue, since you don't have a problem creating and running the executable file in Linux
wrote on 11 Dec 2019, 13:40 last edited by@Pablo-J-Rogina Thanks, I edited the title.
-
Hi there,
I have a project that uses "OSM" map based on qml, I want to create an executable file in Linux using linuxdeployqt. every thing is looks good but when my app runs, won't work! "
It gives this message in terminal: The geoservices provider is not supported."
What should I do??
Thanks.wrote on 11 Dec 2019, 17:00 last edited by@Jamshid you may need to check that the OSM plugin (I don't know the exact filename by heart, I don't have a Qt installation at hand now to check it) is properly deployed in the target machine.
Are you able to run your application Ok in some other PC? i.e. your development machine -
@Jamshid you may need to check that the OSM plugin (I don't know the exact filename by heart, I don't have a Qt installation at hand now to check it) is properly deployed in the target machine.
Are you able to run your application Ok in some other PC? i.e. your development machinewrote on 12 Dec 2019, 07:04 last edited by Jamshid 12 Dec 2019, 07:04@Pablo-J-Rogina I wanna make an executable file from this qt example:
(https://qt-blog-uploads.s3.amazonaws.com/wp-content/uploads/2017/05/OsmOffline.zip) -
wrote on 26 Sept 2020, 20:20 last edited by
Probably linuxdeployqt forgot to put "<qtdir>/plugin/geoservices" into the .exe folder.
-
Hi there,
I have a project that uses "OSM" map based on qml, I want to create an executable file in Linux using linuxdeployqt. every thing is looks good but when my app runs, won't work! "
It gives this message in terminal: The geoservices provider is not supported."
What should I do??
Thanks.wrote on 11 Oct 2020, 18:38 last edited by@Jamshid
Hi Jamshid
I ran into the same issue, and the way I fixed it was to copy the plugin manually just before calling linuxdeploy, see below:# for some reason, this plugin is not being picked up! so copy it manually. install -D ~/Qt/5.15.1/gcc_64/plugins/geoservices/libqtgeoservices_osm.so AppDir/usr/plugins/geoservices/libqtgeoservices_osm.so # then ... ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt --output appimage
I hope this helps, if not reply and I'll see what else I can help with, thanks.
-
wrote on 16 Dec 2021, 10:35 last edited by wikonst
More correct way to do it is add in plugin geoservices entry :
./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt,geoservices --output appimage