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. Qt 6 on mac monterey
Qt 6.12 LTS is out! See what's new in the release blog

Qt 6 on mac monterey

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 979 Views
  • 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.
  • J Offline
    J Offline
    jamat13
    wrote on last edited by
    #1

    My (new install of qt) build fails, up to date xcode

    [plasma] /Users/jam/plot [535]% gcc --version
    Apple clang version 13.1.6 (clang-1316.0.21.2.5)
    Target: x86_64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

    ...
    /opt/Qt/6.3.2/macos/lib/QtCore.framework/Headers/qcompilerdetection.h:559:6: error: Qt requires a C++11 compiler and yours does not seem to be that.

    error Qt requires a C++11 compiler and yours does not seem to be that.

     ^
    

    /opt/Qt/6.3.2/macos/lib/QtCore.framework/Headers/qcompilerdetection.h:969:4: error: "Qt6 requires Unicode string support in both the compiler and the standard library"

    error "Qt6 requires Unicode string support in both the compiler and the standard library"

    ^
    In file included from main.cpp:1:
    In file included from /opt/Qt/6.3.2/macos/lib/QtWidgets.framework/Headers/QApplication:1:
    In file included from /opt/Qt/6.3.2/macos/lib/QtWidgets.framework/Headers/qapplication.h:43:
    In file included from /opt/Qt/6.3.2/macos/lib/QtWidgets.framework/Headers/qtwidgetsglobal.h:43:
    In file included from /opt/Qt/6.3.2/macos/lib/QtGui.framework/Headers/qtguiglobal.h:43:
    /opt/Qt/6.3.2/macos/lib/QtCore.framework/Headers/qglobal.h:143:6: error: "Qt requires a C++17 compiler"

    error "Qt requires a C++17 compiler"

    ...

    What on earth is the issue. My project builds on linux (I'm using SuSE tumblewerd) but I wanted to do some debug.

    James

    jsulmJ 1 Reply Last reply
    0
    • J jamat13

      My (new install of qt) build fails, up to date xcode

      [plasma] /Users/jam/plot [535]% gcc --version
      Apple clang version 13.1.6 (clang-1316.0.21.2.5)
      Target: x86_64-apple-darwin21.5.0
      Thread model: posix
      InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

      ...
      /opt/Qt/6.3.2/macos/lib/QtCore.framework/Headers/qcompilerdetection.h:559:6: error: Qt requires a C++11 compiler and yours does not seem to be that.

      error Qt requires a C++11 compiler and yours does not seem to be that.

       ^
      

      /opt/Qt/6.3.2/macos/lib/QtCore.framework/Headers/qcompilerdetection.h:969:4: error: "Qt6 requires Unicode string support in both the compiler and the standard library"

      error "Qt6 requires Unicode string support in both the compiler and the standard library"

      ^
      In file included from main.cpp:1:
      In file included from /opt/Qt/6.3.2/macos/lib/QtWidgets.framework/Headers/QApplication:1:
      In file included from /opt/Qt/6.3.2/macos/lib/QtWidgets.framework/Headers/qapplication.h:43:
      In file included from /opt/Qt/6.3.2/macos/lib/QtWidgets.framework/Headers/qtwidgetsglobal.h:43:
      In file included from /opt/Qt/6.3.2/macos/lib/QtGui.framework/Headers/qtguiglobal.h:43:
      /opt/Qt/6.3.2/macos/lib/QtCore.framework/Headers/qglobal.h:143:6: error: "Qt requires a C++17 compiler"

      error "Qt requires a C++17 compiler"

      ...

      What on earth is the issue. My project builds on linux (I'm using SuSE tumblewerd) but I wanted to do some debug.

      James

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @jamat13 Try to enable C++17. If you use QMake add "CONFIG += c++17" to your pro file. For CMake see here https://stackoverflow.com/questions/45688522/how-to-enable-c17-in-cmake

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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