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

"'arm_neon.h' file not found"

    XMLWordPrintable

    Details

    • Commits:
      44b6850232 (qtsdk/qtsdk/master)

      Description

      On macOS. Either ARM Mac, or iOS target, or ARM Android target:

      When including Qt headers that implicitly include "qsimd.h", like including <QtCore> or <QtTest>, Clangd complains that 'arm_neon.h' is not found, potentially resulting in follow-up code model issues.

      'arm_neon.h' is part of the Clang installation in /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/arm_neon.h

      It is not included in our shipped Clang headers.

      Workarounds:

      • copying arm_neon.h from Xcode into our clang resources folder
      • editing compile_commands.json to have "-isystem", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include" as the last system include

        Attachments

          Issue Links

          For Gerrit Dashboard: QTCREATORBUG-27455
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              cadam Cristian Adam
              Reporter:
              con Eike Ziller
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes