[Qbs] How to setup: QtC, Qbs, Clang on Windows
resurrection at centrum.cz
resurrection at centrum.cz
Fri Mar 27 21:51:18 CET 2020
Right, that was it! I would have sworn I haven't touched the project files, maybe that error was there all along. Thanks, it works now.
______________________________________________________________
> Od: "Иван Комиссаров" <abbapoh at gmail.com>
> Komu: resurrection at centrum.cz
> Datum: 27.03.2020 19:14
> Předmět: Re: [Qbs] How to setup: QtC, Qbs, Clang on Windows
>
> CC: <qbs at qt-project.org>
There’s also no such property, there’s cpp.compilerName. Are you sure you’re not using «qbs.compilerName» in your project somewhere?
Ivan
> 27 марта 2020 г., в 18:58, Иван Комиссаров <abbapoh at gmail.com> написал(а):
>
> Hello, what version of QtC / qbs / LLVM are you using?
>
> Ivan
>
>> 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?
>>
>> Thanks!
>> _______________________________________________
>> Qbs mailing list
>> Qbs at qt-project.org
>> https://lists.qt-project.org/listinfo/qbs <https://lists.qt-project.org/listinfo/qbs>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20200327/05dd83a7/attachment.html>
More information about the Qbs
mailing list