[QBS] what about path magic variable?

2015-01-07 Thread Smirnov Vladimir
I have found such an example of Export Item: (https://codereview.qt-project.org/#/c/103016/2/examples/app-and-lib/lib/lib.qbs) Export { Depends { name: "cpp" } cpp.includePaths: [path] } What is a "path" magic? it does not appear in Product item or Export item docs. In Language int

Re: [QBS] dictionary in qbs

2015-01-07 Thread Theo de Vries
That resolved it, thanks for your quick reply. Theo 2015-01-07 16:09 GMT+01:00 Bornemann Joerg : > > I'd like to declare an object in my qbs file that is a collection of > key-value pairs, i.e., a dictionary. > > The documentation here: http://doc.qt.io/qbs/cpp-module.html states > that this can

Re: [QBS] dictionary in qbs

2015-01-07 Thread Bornemann Joerg
> I'd like to declare an object in my qbs file that is a collection of > key-value pairs, i.e., a dictionary. > The documentation here: http://doc.qt.io/qbs/cpp-module.html states that this > can be done for the infoPlist property of the cpp module as well. > I have tried several formats, e.g.: >

[QBS] dictionary in qbs

2015-01-07 Thread Theo de Vries
Hello, I'd like to declare an object in my qbs file that is a collection of key-value pairs, i.e., a dictionary. The documentation here: http://doc.qt.io/qbs/cpp-module.html states that this can be done for the infoPlist property of the cpp module as well. I have tried several formats, e.g.: pro

Re: [QBS] Install subdirectory tree

2015-01-07 Thread Stéphane Fabry
Great, Thanks. Le 07-01-15 11:24, Christian Kandeler a écrit : On 01/07/2015 11:04 AM, Stéphane Fabry wrote: I'd like to install some files and directories that form a directory tree. Example: Group { name: "IMAGERs" prefix: "IMAGERs/**/" files: "*"

Re: [QBS] Install subdirectory tree

2015-01-07 Thread Dmitry Volosnykh
Nice :) On Wed, Jan 7, 2015 at 3:46 PM, Christian Kandeler < christian.kande...@theqtcompany.com> wrote: > On 01/07/2015 12:10 PM, Dmitry Volosnykh wrote: > > were could we read the details of the discussion? > > On the whiteboard in our office ;) > In summary, it involves allowing a function as

Re: [QBS] Install subdirectory tree

2015-01-07 Thread Christian Kandeler
On 01/07/2015 12:10 PM, Dmitry Volosnykh wrote: > were could we read the details of the discussion? On the whiteboard in our office ;) In summary, it involves allowing a function as the value of qbs.installDir (with a suitable default definition that does what one typically wants). Christian

Re: [QBS] Install subdirectory tree

2015-01-07 Thread Dmitry Volosnykh
Christian, were could we read the details of the discussion? On Wed, Jan 7, 2015 at 1:24 PM, Christian Kandeler < christian.kande...@theqtcompany.com> wrote: > On 01/07/2015 11:04 AM, Stéphane Fabry wrote: > > I'd like to install some files and directories that form a directory > tree. > > > > E

Re: [QBS] Install subdirectory tree

2015-01-07 Thread Christian Kandeler
On 01/07/2015 11:04 AM, Stéphane Fabry wrote: > I'd like to install some files and directories that form a directory tree. > > Example: > > Group { > > name: "IMAGERs" > prefix: "IMAGERs/**/" > files: "*" > qbs.install: true > qbs.installDir: projec

[QBS] Install subdirectory tree

2015-01-07 Thread Stéphane Fabry
Hi, I'd like to install some files and directories that form a directory tree. Example: Group{ name: "IMAGERs" prefix: "IMAGERs/**/" files: "*" qbs.install: true qbs.installDir: project.calibInstall + "/IMAGERs" } The imager directory has two