[Qbs] (no subject)

Иван Комиссаров abbapoh at gmail.com
Thu Nov 28 17:23:43 CET 2019

I did a small research and was able to compile a small example with clang-cl and asan.
Here are the flags I had to set manually:

cpp.optimization: "none"
    cpp.cxxFlags: [
    cpp.linkerFlags: [
    cpp.staticLibraries: [

Probably, we should add some support for that in Qbs...
The problem is that qbs calls the linker directly (which is not the same clang-cl uses), maybe it’s worth using clang-cl for linking... or just add support for the usual clang with msvc ABI (I have plans for that for 1.16)

Иван Комиссаров

> 28 нояб. 2019 г., в 15:53, Christian Kandeler <Christian.Kandeler at qt.io> написал(а):
> On Thu, 28 Nov 2019 18:58:54 +0500
> Dan Pat <dannix84 at gmail.com> wrote:
>> Hello. I am trying to use Asan in my project (windows 10, clang-cl).
>> There's a requirement for the Asan import library to appear first in the
>> linker's list of import libraries. 
> Who imposes that requirement and why?
>> I cannot seem to find a way to achieve this with qbs. Any suggestions?
> If you are sure it's really, really needed, you can use a Properties item in your product with e.g. cpp.dynamicLibraries (https://doc.qt.io/qbs/qml-qbslanguageitems-properties.html#overrideListProperties-prop), but then you will have to list *all* libraries there.
> Christian
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20191128/16a001eb/attachment.html>

More information about the Qbs mailing list