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

Warning: The code model could not parse an include file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 4.11.0
    • C/C++/Obj-C++ Support
    • None
    • mac OS 10.15.2 (Catalina)
      Qt Creator 4.11.0
      Qt 5.14
      ClangCodeModel, Cppcheck, ClangTools plugins Enabled
    • macOS

      For some weird reason I'm getting this error on latest Qt Creator and Qt 5.14.

      Might be because of the new mac OS 10.15.2 Catalina ? Never had this problem on previous versions

      // Warning: The code model could not parse an included file, which might lead to incorrect code completion and highlight, for example.
      qglobal.h:104:10: error: main file cannot be included recursively when building a preamble
      qprocessordetection.h:1:1: note: in file included from /Users/cosmin/Qt/5.14.0/android/include/QtCore/qprocessordetection.h:1:
      qprocessordetection.h:42:11: note: in file included from /Users/cosmin/Qt/5.14.0/android/include/QtCore/qprocessordetection.h:42:
      qglobal.h:1299:10: note: in file included from /Users/cosmin/Qt/5.14.0/android/include/QtCore/qglobal.h:1299:
      qversiontagging.h:41:10: note: in file included from /Users/cosmin/Qt/5.14.0/android/include/QtCore/qversiontagging.h:41:
      

       

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

            kandeler Christian Kandeler
            cosminmarc Cosmin Marc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes