[Qt-creator] Where can I find a list of Creator's variables?
Alexander Drozdov
adrozdoff at gmail.com
Tue Apr 12 00:24:07 CEST 2016
Hi Nikos,
Currently only manually set. There is no clean solution to point C
compillers for qmake, qbs too from the QtC kit.
2016-04-11 22:57 GMT+10:00 Nikos Chantziaras <realnc at gmail.com>:
> 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.
>
> In the kit that uses Clang, Creator uses this in the "CMake Configuration"
> field:
>
> CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable}
>
> That's nice. But CMAKE_C_COMPILER is not set, so I get a mixed Clang/GCC
> build. %{Compiler:Executable} is obviously the C++ compiler. What is the C
> compiler? What do I write here:
>
> CMAKE_C_COMPILER:STRING=%{???}
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
--
WBR, Alexander Drozdov
http://htrd.su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20160412/4b890c13/attachment.html>
More information about the Qt-creator
mailing list