⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

[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 build

    How I created a project:
    Qt Creator > New Project > Import Project >Import Existing Project

    My 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?


    Add the path to the std library files in the file project_name.includes

Log in to reply