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

        1. QQ20230306-161440@2x.png
          91 kB
          Prime Stephen
        2. QQ20230306-0.png
          532 kB
          Prime Stephen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes