[SOLVED] How to setup autocomplete when using different compiler
-
Specs:
Ubuntu 12.04 no build-essential installed, I'm using my own GCC installed an arbitrary location.
Qt Creator 3.0.0
I'm using SCons to buildHow I created a project:
Qt Creator > New Project > Import Project >Import Existing ProjectMy compiler finds all of its std header files, but in Qt Creator when I for example #include <iostream> and hover over it, Qt Creator says, iostream: No such file or directory. Hence code completion doesn't work.
How to I fix the code completion?
Solution
Add the path to the std library files in the file project_name.includes