[Development] QMetaMethod in Qt 6

Shawn Rutledge shawn.rutledge at qt.io
Thu May 28 11:06:01 CEST 2020


> On 2020 May 27, at 17:50, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> On Wednesday, 27 May 2020 03:42:19 PDT Oswald Buddenhagen wrote:
>>> this is not something we can subject our users to.
>> 
>> orly? kde had been doing that for quite a while.
> 
> And I fixed QtCore to do the same.
> 
> The only reason not to include the moc output in your .cpp is if you don't 
> have one (a header-only class whose only non-inline methods are the moc-
> generated ones). Otherwise, #include your mocs.

The reason is to speed up compilation, right?  Is there another reason?


More information about the Development mailing list