summarylogtreecommitdiffstats
path: root/0002-Disable-mapboxgl.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-Disable-mapboxgl.patch')
-rw-r--r--0002-Disable-mapboxgl.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0002-Disable-mapboxgl.patch b/0002-Disable-mapboxgl.patch
new file mode 100644
index 000000000000..495b1b08644f
--- /dev/null
+++ b/0002-Disable-mapboxgl.patch
@@ -0,0 +1,29 @@
+From dbe68d96e7da8ba5e5484e6ad0bbd78c9b0a8eec Mon Sep 17 00:00:00 2001
+From: Martchus <martchus@gmx.net>
+Date: Sun, 9 Dec 2018 14:29:59 +0100
+Subject: [PATCH] Disable mapboxgl
+
+---
+ qtlocation/src/plugins/geoservices/geoservices.pro | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/qtlocation/src/plugins/geoservices/geoservices.pro b/qtlocation/src/plugins/geoservices/geoservices.pro
+index b81ad34a..98308c97 100644
+--- a/qtlocation/src/plugins/geoservices/geoservices.pro
++++ b/qtlocation/src/plugins/geoservices/geoservices.pro
+@@ -7,12 +7,3 @@ 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
+- }
+-}
+--
+2.23.0
+