[QBS] Set custom compilation flag

Slyshyk Oleksiy alexslyshyk at gmail.com
Fri Mar 18 14:47:58 CET 2016


Hi.
You can set properties for a project directly in build command. Help:
http://doc.qt.io/qbs/building-applications.html

2016-03-18 12:09 GMT+02:00 dismine <dismine at gmail.com>:

> Hi,
>
> When i use qmake i can run it, in some cases, like this:
>
> qmake PREFIX=%{_prefix} Valentina.pro -r "CONFIG += noTests noRunPath
> no_ccache noDebugSymbols"
>
> But i can't find information how to pass such custom keys to qbs.
>
> Thanks,
> Roman
>
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20160318/c96c2647/attachment.html>


More information about the Qbs mailing list