Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.2.0
-
None
-
014167c8e8fe642874a330ae41a444e6f3ed73a9
Description
- Open qtcreator.qbs
- Open e.g. clangcompletionassistprocessor.h
- At the top, start writing #include <cpptool
==> The resulting completion list yields multiple "cpptools/" entries.
This is due duplicated include paths. In QbsProject::updateCppCodeModel the call ppBuilder.setHeaderPaths(grpHeaderPaths); sets the duplicated include paths.
Side note: To check the currently used include path for the code model for the currently open file: Menu: Tools > C++ > "Inspect C++ Code Model", select top level tab "Project Parts", select bottom level tab "Header Paths".
Attachments
For Gerrit Dashboard: QTCREATORBUG-17381 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182934,3 | QbsProjectManager: Remove duplicate include paths for the code model | 4.2 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |