[Qt-creator] Where can I find a list of Creator's variables?

Nikos Chantziaras realnc at gmail.com
Mon Apr 11 18:13:07 CEST 2016


On 11/04/16 17:58, Hunger Tobias wrote:
> On Mo, 2016-04-11 at 15:57 +0300, Nikos Chantziaras wrote:
>> I have the issue of Creator using clang++ to build C++ sources, and GCC
>> to build C sources. I am trying to fix this, but for the life of me I
>> can't find a reference of Creator's variables anywhere.
>
> I just added a button to list them all to the CMake Configuration dialog opened
> by the kit options page.

Great!


>> What do I write here:
>>
>>     CMAKE_C_COMPILER:STRING=%{???}
>
> There is nothing:-/
>
> Qt Creator has one compiler per kit and assumes that to be a C++ compiler. Until
> we change that there is just no information on additional C compilers (or
> whatever other language you want to use). Without that information there is
> nothing that can be added to kits automatically.

Ah, OK. So using a hard-coded path is the only choice here.




More information about the Qt-creator mailing list