diff options
author | Murillo Bernardes <mfbernardes@gmail.com> | 2018-04-06 13:52:09 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-04-06 10:31:07 -0700 |
commit | ef5d4a123ed6d8ff57b26c6cca728de707783687 (patch) | |
tree | ed2c5aaeefb399902823437f28f106996cd045b0 | |
parent | 882120ba65bca664b3bd5c87da247f6deaa40cbb (diff) | |
download | subsurface-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>
-rw-r--r-- | map-widget/qmlmapwidgethelper.h | 5 |
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; |