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

Cyril Baletaud cyril.baletaud at gmail.com
Fri Sep 15 13:30:24 CEST 2017


hi,

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

I don't know how QtCreator handle system include path but i try with a
virtual Ubuntu session and simple project parsing works fine.

#include<iostream>

int main(int argc, char *argv[]){
   std::cout << "Hello World!" << std::endl;
   return 0;
}

cmake_minimum_required(VERSION 3.0.0)
project(hello)
add_executable(hello main.cpp)

#: iostream: no such file or directory

Cyril (sorry for my bad English)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20170915/207e7506/attachment.html>


More information about the Qt-creator mailing list