Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
1.3.0
-
None
-
ebc11e4612444bce428bbacb91f0f26906666749
Description
import qbs Product { condition: false Group { condition: !qbs.targetOS.contains("__undefined__") // error occurs if this property's PRESENT at all, no matter the value // comment it out and the error goes away... qbs.install: undefined } }
Observe:
ERROR: /private/tmp/QBS-671/QBS-671.qbs:7 TypeError: Result of expression 'qbs.targetOS' [undefined] is not an object.
(I originally discovered this by having Qt as an optional dependency and setting the product's condition to Qt.core.present so my project overall can build without Qt.)
Attachments
For Gerrit Dashboard: QBS-671 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
95922,2 | fix evaluation in subitems of disabled products | 1.3 | qbs/qbs | Status: MERGED | +2 | 0 |