[Interest] Three-file modules vs. moc

Adam Light aclight at gmail.com
Thu Aug 27 15:45:06 CEST 2020


On Thu, Aug 27, 2020 at 5:43 AM Bernhard Lindner <
private at bernhard-lindner.de> wrote:

> > You might also use a custom extra compiler -- that still invokes moc,
> > but for each foo.h also tells moc to include foo.inl, bar.h -> bar.inl,
> > and so on...
>
> Hm, I see. Has something like that been done before, is there code I could
> reuse?
>

This is for a rather different use case but attached to
https://bugreports.qt.io/browse/QTBUG-81348 you can find two (very similar)
examples of how to write a custom feature that runs moc in a different way
than the default.

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200827/a5239d44/attachment.html>


More information about the Interest mailing list