diff qt/qtlocation/patch-disable-mapbox.patch @ 807:2e0fe4608012

vanilla: add many missing files
author David Demelier <markand@malikania.fr>
date Sun, 18 Aug 2019 22:22:21 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qt/qtlocation/patch-disable-mapbox.patch	Sun Aug 18 22:22:21 2019 +0200
@@ -0,0 +1,19 @@
+--- src/plugins/geoservices/geoservices.pro.orig	2019-08-12 17:10:00.331757655 +0200
++++ src/plugins/geoservices/geoservices.pro	2019-08-12 17:10:14.575758092 +0200
+@@ -3,16 +3,6 @@
+ QT_FOR_CONFIG += location-private  # pulls in the features defined in configure.json
+ 
+ qtConfig(geoservices_here): SUBDIRS += nokia
+-qtConfig(geoservices_mapbox): SUBDIRS += mapbox
+ qtConfig(geoservices_esri): SUBDIRS += esri
+ qtConfig(geoservices_itemsoverlay): SUBDIRS += itemsoverlay
+ qtConfig(geoservices_osm): SUBDIRS += osm
+-
+-qtConfig(geoservices_mapboxgl) {
+-    !exists(../../3rdparty/mapbox-gl-native/mapbox-gl-native.pro) {
+-        warning("Submodule mapbox-gl-native does not exist. Run 'git submodule update --init' on qtlocation.")
+-    } else {
+-        SUBDIRS += mapboxgl ../../3rdparty/mapbox-gl-native
+-        mapboxgl.depends = ../../3rdparty/mapbox-gl-native
+-    }
+-}