I want to use gcc6 for my project and use qtcreator as ide. my project uses cmake.
in 'build&run' -> 'compiler' i added g++-6 as compiler 'gcc6'. in 'kits' i changed the compiler to 'gcc6'.
when importing the project and hovering over a target, the popup shows compiler as 'gcc6'.
when clicking 'configure' and running cmake i get following output:
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
and c++ is used when compiling. this is what i get when following the links:
/usr/bin/c++ -> /etc/alternatives/c++ -> /usr/bin/g++ -> g++-5
so it seems the qtcreator ignores my settings.
it would be enough to set default cmake-parameters for the qtcreator kit, but i found no option.
what can i do to fix this? (or am i doing something wrong?)