Am 07.02.2018 um 11:14 schrieb Christian Kandeler:
Are you saying the rule in your module puts the header files at a 
project-global location?
Yes.
Then you cannot use it in more than one product,
Thanks for the clarification.

Instead of generating one set of headers per product I have added a StaticLibrary which depends on the generator and contains a single source file that #includes all generated headers. That way all the moc files end up in the static library that subsequently can be linked against.

Christian

--
Christian Gudrian
AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany

_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to