Closed jmastr closed 5 years ago
It seems somehow related to static linking on iOS.
Sorry, I dis not tested it on iOS Can guess the issue is with deploying libraries on the target
Hi, I did not find a proper solution but an workaround with xcode: U need to modify the \<projectname>_plugin_import.cpp manualy and add another Line for an import:
Q_IMPORT_PLUGIN(QGeoServiceProviderFactoryGooglemaps)
Then you have to add the libqtgeioservices_googlemaps.a manualy to Build Phases, Link Binary With Libraries I hope it helps, aqm
One can build the library statically with:
diff --git b/googlemaps.pro a/googlemaps.pro
index 498bc58..ee4f31e 100644
--- b/googlemaps.pro
+++ a/googlemaps.pro
@@ -1,4 +1,7 @@
TEMPLATE = lib
+# BV: start
+CONFIG += static
+# BV: end
CONFIG += plugin
CONFIG += relative_qt_rpath # Qt's plugins should be relocatable
TARGET = qtgeoservices_googlemap
Hello,
first of all thank you very much for the great plugin. It works beautifully on macOS with Qt 5.10.0. I can
make install
it and it automatically pops up in the official mapviewer example underProvider
. Great job!However the same approach does not work for iOS. I can see, that the files are placed correctly, but the provider does not show up:
Is it supposed to work on iOS?