[Qbs] Generated header files used by multiple products
enmarantispam at gmail.com
Wed Feb 7 10:55:04 CET 2018
You can make a separate product generating those files and depend on it in
On Wed, Feb 7, 2018 at 12:00 PM, Christian Gudrian <
christian.gudrian at aucos.de> wrote:
> In our project we are using a custom module to generate header files with
> classes that descend from QObject.
> If a single product depends on this generator module everything works as
> expected. A second product, however, may not as well depend on the
> generator module, as Qbs complains about duplicate output artifacts.
> Without the explicit dependency to the generator module the second product
> compiles nonetheless (as the header files have already been generated).
> But now it's the linker that complains about missing symbols from the moc
> generated source files.
> How to share generated header files across products while pertaining moc
> Christian Gudrian
> AUCOS AG, Matthiashofstraße 47
> 52064 Aachen, Germany
> Qbs mailing list
> Qbs at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qbs