Hi, Thanks for your reply. I’m trying it already but I’m having other kinds of problems I’m still not comfortable with.
I will investigate. Thanks! Regards, Nuno > On 16 Oct 2017, at 09:54, Christian Kandeler <[email protected]> wrote: > > On Sun, 15 Oct 2017 23:08:19 +0100 > Nuno Santos <[email protected]> wrote: > >> I’m giving my first steps with qbs in order to embrace the future and start >> porting my framework to it. I have just tried it for the first time today >> but I have already been faced with a new problem I can’t find on >> documentation. Problem: >> >> - I support iOS, Android, Windows & Mac >> >> For the same app/lib I might need to include different source files > > This is done via the Group item: https://doc.qt.io/qbs/group-item.html > >> and links with different libs. > > This is done via the Properties item: > https://doc.qt.io/qbs/properties-item.html > >> I’m basically looking for the equivalent to macs { ,} android { }, etc > > The two items mentioned above should cover this. In both cases, use a > condition based on the target OS, e.g. "condition: > qbs.targetOS.contains('macos')". > > > Christian > _______________________________________________ > Qbs mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qbs _______________________________________________ Qbs mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qbs
