[QBS] A way to reuse Depends item's value by Export item?

Oswald Buddenhagen oswald.buddenhagen at digia.com
Mon Sep 22 11:55:49 CEST 2014


On Mon, Sep 22, 2014 at 09:51:20AM +0200, Christian Kandeler wrote:
> On 09/19/2014 09:31 PM, Dmitrii Volosnykh wrote:
> > As of now I have to duplicate Depends item inside Product and Export
> > items in order to make the original product and any dependent ones
> > compile nicely.
> >
> > Is there a way to specify something like follows?
> > Export {
> >      Depends: product.depends
> > }
> 
> No. And while such a thing can probably be added, I'm not so sure it 
> would be a good idea: Most of the time a product's dependencies are not 
> identical with what its dependents need, and offering a simple way to 
> make the two things the same would probably lead to a lot of people 
> exporting too much in order to save keystrokes.
> Something like this would not have that drawback:
> Depends {
>      name: "xyz"
>      export: true
> }
> Although it seems a bit questionable that now export information is 
> outside the Export block.
> 
https://bugreports.qt-project.org/browse/QBS-584




More information about the Qbs mailing list