Hello,
I was making my project when I realized that in code below Properties{}
item works without errors and Group{} give a error undefined variable
'project_type'.
As I understand it should be project.project_type in both cases, but
Properties{} works in this case too.

import qbs

Project {
property string project_type: ""

Properties {
condition: project_type === "qwerty"
}

Group {
condition: project_type === "qwerty"
files: [ "formedit-16x16.png" ]
qbs.install: true
qbs.installDir: "share/icons/"
}
}


With best regards,
Alex Giss
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to