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

Code model errors with CMake/iOS/Qt6

XMLWordPrintable

    • iOS/tvOS/watchOS

      For some reason the code model for the CMake project misses the "BuiltIn" header path to

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

      which leads to e.g. type_traits not being found.

      To reproduce:

      • install Qt 6.2/iOS
      • create dummy CMake Widgets Application
      • select Qt 6.2/iOS kit

      A corresponding qmake project has this header path. This is strange because as far as I can tell the "BuiltIn" paths all come from the compiler detection: the CMake api reply files do not contain any reference to the other "BuiltIn" paths either. See screenshots.

        1. includes_qmake.png
          includes_qmake.png
          233 kB
        2. includes_cmake.png
          includes_cmake.png
          225 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            con Eike Ziller
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes