I upgraded to Qt 5.11 as this is documented as the only Qt version to be supported. Before upgrading the build completed without errors. Now I get an error about a future that is unavailable, see compiler output below. I am a bit lost here and have no idea why this error pops up now. Any help would be much appreciated.
In file included from /Users/lessner/Documents/QGC/qgroundcontrol/src/QtLocationPlugin/QGCMapEngine.cpp:18:
In file included from /Users/lessner/Documents/QGC/qgroundcontrol/src/QGCApplication.h:27:
In file included from /Users/lessner/Documents/QGC/qgroundcontrol/src/comm/LinkManager.h:22:
In file included from /Users/lessner/Documents/QGC/qgroundcontrol/src/comm/LinkInterface.h:13:
In file included from /Applications/Qt/5.11.0/clang_64/lib/QtCore.framework/Headers/QThread:1:
/Applications/Qt/5.11.0/clang_64/lib/QtCore.framework/Headers/qthread.h:163:43: error: ‘future’ is unavailable: introduced in macOS 10.8
static QThread *createThreadImpl(std::future &&future);
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1/future:1279:52: note: ‘future’ has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABILITY_FUTURE future
1 error generated.
make: *** [obj/QGCMapEngine.o] Error 1
09:22:32: The process “/usr/bin/make” exited with code 2.
Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.11.0 clang 64bit)
When executing step “Make”