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-25 11:45:12 -0700
commit4ad1413d94c13d52ee679de1fe5fe720cf32e4fe (patch)
tree08a1740344bf68de4b61dc2e86b94c707bf10ee2
parent644c7796c71dbbec84e75ad4c0d5945be368350d (diff)
downloadqtlocation-mapboxgl-4ad1413d94c13d52ee679de1fe5fe720cf32e4fe.tar.gz
Fix build with clang
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 f7385b160d..2cede951ab 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 \