Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
1.15.0
-
None
-
ac110221332cdae2b7716f886178af27f16d98a3 (qbs/qbs/master)
Description
Project { Profile { name: "profile1" } Profile { name: "profile2" } Product { name: "dep" qbs.profiles: ["profile1", "profile2"] aggregate: true Depends { name: "cpp" } Export { Depends { name: "cpp" } cpp.defines: product.qbs.profile } } Product { name: "main" Depends { name: "dep"; profiles: ["profile1"]; } Depends { name: "cpp" } property string whatstheprofile: { console.info(cpp.defines); } } }
- Expected output: "profile1".
- Actual output: "none"
Depends.profiles should always override aggregate.