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

All source files show "This file is not part of any project" for generic imported project.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: Qt Creator 4.10.1, Qt Creator 4.11.0-rc1
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      I have a large custom Qt Creator project created using the "Import Existing Project" functionality.
      When I open the project in Qt Creator 4.10.1 or today's nightly build, I can see all of the project source files in the the "Projects" side bar. However, whenever I open a source file from the sidebar, I get a message at the top of the editor that reads "Warning: This file is not part of any project. The code model might have issues parsing this file properly."

      Sure enough, none of the included header files can be located (despite their directories being present in the project's ".includes" file) and thus the editor window is a sea of errors.

      If I open the same project in Qt Creator 4.8.2, it works fine, so this appears to be a regression.

        Attachments

        1. kits.png
          kits.png
          90 kB
        2. project-include.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              kandeler Christian Kandeler
              Reporter:
              erikjensen Erik Jensen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes