You did not specify what went wrong four you. I assume you are referring to the fact that the condition of the Depends item evaluates to false. This is because the value of qbs.architecture comes from a Probe, which is not evaluated until later. Workaround: Set qbs.architecture in your profile. Arguably, we should set this value again in setup-toolchains.
Christian ________________________________________ From: Qbs <[email protected]> on behalf of Dorian Jicquel <[email protected]> Sent: Thursday, September 7, 2017 2:17 PM To: [email protected] Subject: [Qbs] Depends Issue Hi, Since 1.9.0, it is not possible anymore to have two Depends with the same name in the same product, for example : Depends { name: "Qt" ; submodules:["core"] } Depends { name: "Qt" ; condition: qbs.architecture=="x86"; submodules:["gui","widgets"] } Any clue about this ? Thanks in advance, Regards, Dorian. _______________________________________________ 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
