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

QtCreator clang code model error

    XMLWordPrintable

Details

    • ce3103194f3f08c0482e47ce599234db04f93a14 (qt-creator/qt-creator/4.12)

    Description

      Hello,

      I am not getting any completion or anything.
      The relevant errors when enabling logging seems to be :

      error: retain documentation comments from system headers in the AST was disabled in PCH file but is currently enabled
      error: PCH file was compiled for the target 'x86_64-pc-linux-gnu' but the current translation unit is being compiled for target 'x86_64-unknown-linux-gnu'

      I have looked in all my kits but could not find a reference to "pc" or "unknown" - compiler ABI is x86-linux-generic-elf-64bit (the clang that comes with my distribution basically).

      I have tried enabling / disabling PCH in the Code Model settings but it does not change anything (restarted in-between).

      Attachments

        1. clang.png
          clang.png
          179 kB
        2. kit.png
          kit.png
          182 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            jcelerier Jean-Michaël Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes