Details
Description
This code fails with error:
ModuleTest.qbs:5: error : ReferenceError: Can't find variable: testB
when assigning a value to testA in the Properties item.
import qbs CppApplication { files: "main.cpp" Depends { name: "test" } //test.testB: true }
- module "test", ModuleTest.qbs - import qbs Module { condition: true property bool testA: false property bool testB: false Properties { condition: testB testA: true } }
More generally, qbs fails when assigning a value in a Properties item to a property defined in the same file (only in modules, it don't fail in products) with the error "can't find variable: <variable used in Properties's condition>"
Seems a bit related to QBS-1239