[Development] Announcing moc_combine

Thiago Macieira thiago.macieira at intel.com
Mon May 30 15:12:01 CEST 2016

Em segunda-feira, 30 de maio de 2016, às 10:19:38 BRT, Marc Mutz escreveu:
> On Sunday 29 May 2016 18:05:07 Thiago Macieira wrote:
> > I've just pushed a feature[1] 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[1] and error checking[2,3].

Sorry, I don't buy it. Instead:
	qmake -config ltcg

There's a reason I showed the time for that build too.

> [1] https://codereview.qt-project.org/152423
> [2] https://codereview.qt-project.org/153309
> [3] https://codereview.qt-project.org/153321

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list