Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.1.0-beta
-
Windows 7 64 bit
Description
- Enable the ClangCodeModel plugin and restart Creator.
- In "Tools" -> "Options..." -> "C++" -> "Code Model", enable Clang for all file types.
- Create a new Plain C++ Project (Qbs Build).
The project is created and its main.cpp is shown. The first line is underlined. - Hover the first line with the mouse.
You'll see a tooltip: "'iostream' file not found". Building the project works fine though. Even "Follow symbol under cursor" works for iostream. - Close and reopen main.cpp.
The underline and the tooltip are gone.
When using Creator's built-in code model none of these error indicator will be shown. They aren't shown either when using a qmake-based project.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-14288 Clang code model underlines first line for error elsewhere
-
- Closed
-
- replaces
-
QTCREATORBUG-13562 clang code model does not update syntax highlighting on session reopen
-
- Closed
-