From ef5d4a123ed6d8ff57b26c6cca728de707783687 Mon Sep 17 00:00:00 2001 From: Murillo Bernardes Date: Fri, 6 Apr 2018 13:52:09 -0300 Subject: [PATCH] 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 --- map-widget/qmlmapwidgethelper.h | 5 +++++ 1 file changed, 5 insertions(+) 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 #include +#if defined(Q_OS_IOS) +#include +Q_IMPORT_PLUGIN(QGeoServiceProviderFactoryGooglemaps) +#endif + class MapLocationModel; class MapLocation; struct dive_site;