[Qbs] How to setup: QtC, Qbs, Clang on Windows
abbapoh at gmail.com
Fri Mar 27 19:14:15 CET 2020
There’s also no such property, there’s cpp.compilerName. Are you sure you’re not using «qbs.compilerName» in your project somewhere?
> 27 марта 2020 г., в 18:58, Иван Комиссаров <abbapoh at gmail.com> написал(а):
> Hello, what version of QtC / qbs / LLVM are you using?
>> 27 марта 2020 г., в 18:20, <resurrection at centrum.cz> <resurrection at centrum.cz> написал(а):
>> I have been struggling with setting up Qbs inside Qt Creator so it uses clang-cl on Windows. On the command line it is auto-detected and works just fine. In QtC I need to add manually compilers for C and C++, both set to clang-cl.exe (in c:/program files/llvm/bin). Then I add new Kit and specify these compilers. All seems fine. QtC also adds new profile in Qbs section with data identical to those auto-detected on the command line. So again, seems fine. But it still does not work, the error:
>> warning: Error: TypeError: Result of expression 'qbs.compilerName' [undefined] is not an object.
>> And yet the compilerName is indeed set correctly in the profile. Is it a bug in QtC? Or am I doing something wrong?
>> Qbs mailing list
>> Qbs at qt-project.org
More information about the Qbs