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[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].
If moc has full picture it also can apply some nice optimizations, like for example here https://codereview.qt-project.org/#/c/75151/. Cheers, Jędrek _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
