[Qt-creator] qtcreator does not find sytem include path on gentoo linux

Tobias Hunger Tobias.Hunger at qt.io
Mon Sep 18 14:09:20 CEST 2017


<Cyril wrote:>

> Project compile and run fine, but code model does not find system include path. (classic
> code model and clang code model) "Header paths" Tab in "Inspect c++ code
> model" is empty.
>
> My system is Gentoo.
> QtCreator 4.4.82.
> Qt 5.7.1
> GCC 6.4.0
> CMAKE 3.9.2 server mode

What does this print:

LC_MESSAGES=en_US.utf8 gcc -xc++ -E -v -

?

If this uses localized output, then creator might fail to detect the include paths.

Best Regards,
Tobias

--
Tobias Hunger, Senior Software Engineer | The Qt Company
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho. Sitz der
Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Qt-creator mailing list