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

QtCreator cannot resolve any #includes in a CMake project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.15.0-beta1
    • None
    • Kubuntu 20.10, CMake 3.16.3
    • Linux/X11

    Description

      When I open a CMake C++ project, QtCreator cannot resolve any header includes, including the standard C and C++ headers. Basically, this makes QtCreator a simple text editor - no context-specific code highlighting, no navigation, no symbol resolution, etc. In Tools -> C++ -> Inspect C++ Code Model, on the Project Parts tab, everything is empty - no project parts, and no entries in the Defines and Header Paths tabs.

      This is a regression since QtCreator 4.14.1, which opens the same project normally.

      I cannot share this project as it is not public.

      Attachments

        1. qtc_4.14.2.log
          252 kB
        2. qtc_4.15.0b2.log
          194 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes