[Qbs] How to add -pthread option into projects? a bug in qbs ?

Vincent Hui vincenthk007 at gmail.com
Fri Jul 5 09:49:09 CEST 2019


Hi,

Thank all of you for your replies.

I can build my project with cpp.driverFlags: "-pthread".

My next question is how to fix the bug in conan qbs generator? driverFlags
does not exist in conan qbs generator.

Thanks,
Vincent


On Thu, 4 Jul 2019 at 16:07, Christian Kandeler <Christian.Kandeler at qt.io>
wrote:

> On Thu, 4 Jul 2019 14:20:09 +0800
> Vincent Hui <vincenthk007 at gmail.com> wrote:
>
> >     cpp.cppFlags: ["-pthread"]
>
> cpp.driverFlags: "-pthread"
>
>
> 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/20190705/e2b4ad55/attachment.html>


More information about the Qbs mailing list