[Interest] Tricks to improve moc performance?

Thiago Macieira thiago.macieira at intel.com
Tue Dec 10 04:20:42 CET 2019


On Monday, 9 December 2019 14:51:24 PST Hamish Moffatt wrote:
> If my memory serves me correctly, we found MOC drastically slower when
> we upgraded from Qt 4.8 to 5.x. We had quite a few directories in
> INCLUDEPATH, though nothing like the number you mentioned.

Qt 5's moc, unlike Qt 4's, does not ignore #includes. It actually does parse 
them. But it ignores any #include it cannot find, for compatibility.

Qt 6's will require them to be found.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Interest mailing list