[Qbs] Generated header files used by multiple products

Christian Kandeler christian.kandeler at qt.io
Wed Feb 7 11:17:22 CET 2018

On Wed, 7 Feb 2018 12:55:04 +0300
NIkolai Marchenko <enmarantispam at gmail.com> wrote:

> You can make a separate product generating those files and depend on it in
> two others

This will work for normal headers, but moc headers are actual inputs and thus need to be part of the product, as the moc rule does not consider artifacts from dependencies. That's why the extra copy step is needed, as outlined in my reply to the OP.


More information about the Qbs mailing list