summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-04-25 11:45:12 -0700
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2018-04-26 10:42:25 -0700
commit74df5203628b47931b4edcb5e8fe352f40fe7df4 (patch)
tree188694f28c0f54a248286fb7e9bc27f6ae98809d
parent8c1be4ec01ef46bf453856531ebf53b48ce3dbe7 (diff)
downloadqtlocation-mapboxgl-upstream/qt-staging-5.11.0.tar.gz
Fix build with clangupstream/qt-staging-5.11.0
The code uses both deprecated C++98 std::auto_ptr and C++14 TR std::experimental::optional and thus depends rather heavily on being compiled with an exact C++ version.
-rw-r--r--mapbox-gl-native.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/mapbox-gl-native.pro b/mapbox-gl-native.pro
index 08d53e4ae7..ffd7012371 100644
--- a/mapbox-gl-native.pro
+++ b/mapbox-gl-native.pro
@@ -3,6 +3,7 @@ TARGET = qmapboxgl
load(qt_helper_lib)
CONFIG += qt c++14 exceptions warn_off staticlib object_parallel_to_source
+CONFIG -= c++1z
QT += network-private \
gui-private \