Re: [QBS] Project configuration from within qbs profile

2014-07-21 Thread Christian Kandeler
On 07/21/2014 09:24 AM, Richard Weickelt wrote: > It took me a while, but after looking at some qbs projects in the www, I got > my head around this. Please correct me if I am wrong. > > Qbs modules are not a QML language feature, so the import statement is > useless here. Right. Modules are known

Re: [QBS] Project configuration from within qbs profile

2014-07-21 Thread Richard Weickelt
> Ok, I've tried to create a module "MyModule" and access one of its > properties, but failed: > > mymodule.qbs > import qbs.base 1.0 > > Module > { > name: "MyModule" > property string myProperty > } > > myproject.qbs > import qbs.base 1.0

[QBS] Project configuration from within qbs profile

2014-07-19 Thread Richard Weickelt
Hi, I have a question regarding project configuration. A qbs project defines a property "myProperty". I can of course set the property in the qbs file itself and I can set the property on command line via: qbs build myproject.qbs project.myProperty:bla Would it also be possible to set this pro