Usual javascript a design of enumeration doesn't work:
Product {
...
Depends { name: "cpp" }
...
property var testEnumeration: {
print("+++ testEnumeration ++++");
print("product");
print(this);
for (var p in this) {
print(p);
}
print("");
print("project");
print(project);
for (var p in project) {
// Here never we get...
print(p);
}
print("");
print("cpp");
print(cpp);
for (var i in cpp) {
// Here never we get...
print(i);
}
print("");
print("+++ testEnumeration +++");
}
}
| For Gerrit Dashboard: QBS-693 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 193093,3 | Support enumeration of EvaluatorScriptClass-provided objects | master | qbs/qbs | Status: MERGED | +2 | 0 |