On 01/20/2015 01:33 PM, Alexander Giss wrote: > 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/" > } > }
Please paste real code (stripped down to the essentials from your actual project, if possible). The one above has e.g. a Group item directly under a Project, which can never work. Christian _______________________________________________ QBS mailing list QBS@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs