Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
1.10.0, 1.11.0
-
None
-
host Linux, target Android
-
6f56aa507 (master)
Description
I try to set module property under some condition using Properties block. When blocks condition is false this property changes its value and becomes undefined.
Here is minimal example targeting Android:
Project { CppApplication { Properties { condition: false cpp.syslibroot: "anything"//if i comment this line cpp.syslibroot has valid path } } }
In this example cpp.syslibroot becomes undefined when i try to use it in Properties block (condition is always false).
why property cpp.syslibroot is affected such way?
Attachments
Issue Links
- is duplicated by
-
QBS-1583 Properties item has effect even it is unconditional
- Closed
For Gerrit Dashboard: QBS-1254 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
570650,5 | Fix "implicit else" behavior of Properties item | master | qbs/qbs | Status: MERGED | +2 | -1 |