qtcreator does not use specified compiler
<p>I want to use gcc6 for my project and use qtcreator as ide.
my project uses cmake.</p>

<p>in 'build&amp;run' -> 'compiler' i added g++-6 as compiler 'gcc6'.
in 'kits' i changed the compiler to 'gcc6'.</p>

<p>when importing the project and hovering over a target, the popup shows compiler as 'gcc6'.</p>

<p>when clicking 'configure' and running cmake i get following output:</p>

<pre><code>-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
</code></pre>

<p>and c++ is used when compiling. this is what i get when following the links:</p>

<pre><code>/usr/bin/c++ -&gt; /etc/alternatives/c++ -&gt; /usr/bin/g++ -&gt; g++-5
</code></pre>

<p>so it seems the qtcreator ignores my settings.</p>

<p>it would be enough to set default cmake-parameters for the qtcreator kit, but i found no option.</p>

<p>what can i do to fix this? (or am i doing something wrong?)</p>