[Qbs] Building a product's files into another product

Alberto Mardegan mardy at users.sourceforge.net
Thu Jul 30 15:20:51 CEST 2020


Hi Ulrich,

Il 30.07.2020 14:04, Jochen Ulrich ha scritto:
> Hi Alberto!
> 
> Did you try using a Module instead of a Product?

Not yet, because it would require some deeper refactoring of my QBS 
project, but:

> Or export from a Product (which also creates a Module internally):

yes, this is almost working. As a matter of facts, it indeed works for 
the example I posted before, but my problem is that the source files are 
generated at build time (by the Qt resource system), and it looks like 
they are not being picked up by the Group:

Export {
     Group {
         fileTagsFilter: ["cpp"]
     }
}

I will experiment a bit more with the QBS.Exporter module, because it 
might be exactly what I'm looking for (or maybe I'll just got for a 
module, as you suggested!).

Ciao,
   Alberto


More information about the Qbs mailing list