[Qt-creator] clang code model for syntax highlighting does not work for standard header
Nikolai Kosjar
nikolai.kosjar at qt.io
Mon Jul 17 08:16:42 CEST 2017
On 07/15/2017 12:57 PM, fgf wrote:
> These observations suggests that clang does not know the path of the
> standard headers. Is there a way to circumvent this problem in a more
> elegant way? Is there are simple way to provide the clang plugin with
> the correct path?
The toolchain of your kit is used to determine those paths. Something
goes wrong there. Check your kit and toolchain.
To see what include paths the code model gets from the
project/toolchain, invoke Menu: Tools > C++ > "Inspect C++ Code Model" >
Top Tab: "Project Pars" > Bottom Tab: "Header Paths".
If toolchain and kit settings looks fine, create a bug report at
https://bugreports.qt.io/
Nikolai
More information about the Qt-creator
mailing list