How to build using Qt6 on macOS 14.1?
Unsolved
General and Desktop
-
Using Qt 6, macOS 14.1, and cmake, I'm getting the following error while building:
In file included from /Users/vadim.peretokin/Programs/Mudlet/3rdparty/edbee-lib/vendor/qslog/QsLogDest.cpp:28: In file included from /Users/vadim.peretokin/Programs/Mudlet/3rdparty/edbee-lib/vendor/qslog/QsLogDestFile.h:30: In file included from /opt/homebrew/opt/qt/lib/QtCore.framework/Headers/QFile:1: /opt/homebrew/opt/qt/lib/QtCore.framework/Headers/qfile.h:31:58: error: 'path' is unavailable: introduced in macOS 10.15 inline QString fromFilesystemPath(const std::filesystem::path &path) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__filesystem/path.h:442:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^
I'm already passing in
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
which seems to be a popular solution for this, but no luck.