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

Finding headers broken in generic project

    XMLWordPrintable

Details

    • Linux/X11
    •  214968a80b803989d32cc559aa9e5e0881f2fbf6

    Description

      Finding headers seems to be broken in Generic Project.

      Right now, only headers in same folder as  *.cpp file seem to be found. Rest of headers are not found, even if they are part of the generic project.

      Issue seems to be caused by commit: "Merge CppTools into CppEditor"

      basic example:

      make folder structure like this:

      testfolder/inc/header.h

      testfolder/src/source.c

      Try to create generic project in folder "testfolder", and include header and source in it.

      Add in source:

      #include "header.h"

      Code model will say        

      error: 'header.h' File not found.

      Attachments

        1. Screenshot.png
          Screenshot.png
          227 kB
        2. test.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            pperisin Petar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes