Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to build using Qt6 on macOS 14.1?
Qt 6.12 LTS is out! See what's new in the release blog

How to build using Qt6 on macOS 14.1?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 587 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vadi2
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved