[Qbs] Passing unescaped flags to the linker

Christian Kandeler christian.kandeler at qt.io
Thu Nov 2 11:29:27 CET 2017


On Thu, 2 Nov 2017 11:19:11 +0100
Timur Kristóf <timur.kristof at gmail.com> wrote:

> @Christian:
> 
> >> Yes, that is a bit of a problem. We really need cpp.linkerDriverFlags with
> >> the semantics "flags to pass only when linking using the compiler binary".
> >> The need for that has been debated in the past, but I think the case is
> >> pretty clear now. Could you please create a task for that at
> >> bugreports.qt.io, citing your use case?  
> 
> This exact same issue comes up twice every month on this mailing list,
> so I think the documentation could be improved, maybe the cpp module
> docs could explain better what linkerFlags and driverFlags do.

This is https://bugreports.qt.io/browse/QBS-1213

> Would also be nice to see a new linkerDriverFlags property which could
> indeed ease this problem.

https://codereview.qt-project.org/#/c/209971/


Christian



More information about the Qbs mailing list