[Qt-creator] Editor unable to find #include files

Steve Atkins steve at blighty.com
Wed Dec 4 23:30:22 CET 2013

I've seen a regression since 2.6.something where the code model isn't able to find files in #include statements - they get a warning underline, hovering over them shows "no such file or directory", and autocompletion doesn't recognize any types defined in them. Which include files do that is consistent, but reordering the includes sometimes changes which are affected, apparently randomly.

Possibly related, hovering over other include files shows the tool tip "const char *" instead of the file path. I can replicate this in 2.8.1, 3.0 beta and HEAD.

I don't see anything related in the bug tracker, and I've not yet been able to create a reasonably sized test case that demonstrates it.

Does anyone have any pointers as to where I should look to start diagnosing what's going on?


More information about the Qt-creator mailing list