Details
-
Suggestion
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.10.0
-
None
Description
QtLocation fails to compile (see attached error messages). when libc++ is being used by default not libstdc++.
This seems like configure step Qt detects that clang 5 supports C+17. However C+17 removes std::auto_ptr which obviously QtLocation relies upon (a rather old Boost 1.62.0 library using it is packaged with Qt in qtlocation/src/3rdparty/mapbox-gl-native/deps/boost/1.62.0).
A simple solution would be to set the define
_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR. This define enables std::auto_ptr even
if clang uses C++17.