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

Code model errors with CMake/iOS/Qt6

    XMLWordPrintable

    Details

    • Platform/s:
      iOS/tvOS/watchOS

      Description

      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.

        Attachments

        1. includes_cmake.png
          includes_cmake.png
          225 kB
        2. includes_qmake.png
          includes_qmake.png
          233 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes