[Development] Announcing moc_combine
jedrzej.nowacki at qt.io
Mon May 30 16:24:38 CEST 2016
On Monday 30 of May 2016 10:19:38 Marc Mutz wrote:
> On Sunday 29 May 2016 18:05:07 Thiago Macieira wrote:
> > I've just pushed a feature to moc that makes it process multiple
> > headers
> > at the same time, producing only one output file
> Separate compilation is not how I would recommend to use moc-generated
> files. I'd recommend to always include the moc file in the corresponding
> cpp file. That gives the compiler the whole picture and enables better
> optimisation and error checking[2,3].
If moc has full picture it also can apply some nice optimizations, like for
example here https://codereview.qt-project.org/#/c/75151/.
More information about the Development