Details
-
Bug
-
Resolution: Done
-
P2: Important
-
1.2.0
-
None
-
a5c93306557cfd69f6e6d7181eb4c7d884af4d41
Description
The following example results in an error message "ReferenceError: Can't find variable: qbs" while evaluating the condition of the Properties item of the property valueList.
import qbs 1.0 Project { name: "projectProperties" property stringList valueList: [ "v1", "v2" ] Properties { condition: qbs.targetOS.contains("windows") valueList: [ "v1", "v3" ] } Project { name: "A" Product { property var debugMe: { for ( var i in project.valueList ) print(project.valueList[i]); } } } }