Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.0-beta1
-
None
-
-
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
For Gerrit Dashboard: QTCREATORBUG-26304 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
372594,3 | GenericProject: Pass resolved include paths to code model | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
376090,2 | CppEditor: Add missing namespace | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |