On Fri, Dec 6, 2019 at 12:42 AM Uwe Rathmann <uwe.rathm...@tigertal.de>
wrote:

> On 12/6/19 2:09 AM, Adam Light wrote:
>
> > Does anyone else have any ideas of how we could change our build to
> > improve moc performance when Windows decides to be "slow"?
>
> Something you can try is to include the moc file at the end of your cpp
> file. This can be done like this:
>
> #include "moc_XYZ.cpp"
>
>
Yes, that's definitely on my TODO list, though I don't think it's going to
do much to address the current situation in which moc itself is the main
bottleneck. But any improvement will help.

Does anyone know of a script or other automated way to add these includes?

Adam
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to