summaryrefslogtreecommitdiffstats
path: root/map-widget/qmlmapwidgethelper.h
diff options
context:
space:
mode:
authorGravatar Murillo Bernardes <mfbernardes@gmail.com>2018-04-06 13:52:09 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-06 10:31:07 -0700
commitef5d4a123ed6d8ff57b26c6cca728de707783687 (patch)
treeed2c5aaeefb399902823437f28f106996cd045b0 /map-widget/qmlmapwidgethelper.h
parent882120ba65bca664b3bd5c87da247f6deaa40cbb (diff)
downloadsubsurface-ef5d4a123ed6d8ff57b26c6cca728de707783687.tar.gz
ios: manually import google maps plugin
qmlimportscanner for some reason does not include the googlemaps plugin in the generated file. Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
Diffstat (limited to 'map-widget/qmlmapwidgethelper.h')
-rw-r--r--map-widget/qmlmapwidgethelper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/map-widget/qmlmapwidgethelper.h b/map-widget/qmlmapwidgethelper.h
index eb57dcd88..7b218e9a9 100644
--- a/map-widget/qmlmapwidgethelper.h
+++ b/map-widget/qmlmapwidgethelper.h
@@ -6,6 +6,11 @@
#include <QGeoCoordinate>
#include <QVariant>
+#if defined(Q_OS_IOS)
+#include <QtPlugin>
+Q_IMPORT_PLUGIN(QGeoServiceProviderFactoryGooglemaps)
+#endif
+
class MapLocationModel;
class MapLocation;
struct dive_site;