Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28872

Got error '"wchar.h" not found' in Qmake build after update Xcode, but normal in CMake build.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 9.0.2
    • None
    • MacOS Ventura 13.2.1 Xcode 14.1 Qt5.15.2
    • macOS

    Description

      I create a simple project that just print hello world. It can't qmake and compile.

      I found the wchar.h file is included from

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1

      rather thanĀ 

      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1

      Is this a Qt Creator setting or a mac setting and how can I fix it?

      Attachments

        Activity

          People

            con Eike Ziller
            port Prime Stephen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: