On 1/3/22 2:40 PM, Lars Knoll wrote:

One other possible solution to improve compile times is the hack we used 15 years ago in KDE, where we grouped many .cpp files into one compilation unit. There’s however a balance needed here, as it reduces the efficiency of -j, but maybe compiling 4-8 .cpp files as one unit could help.

Please not that the compilation speed decrease affects user projects too, not only Qt itself. Using unity/amalgamated builds for Qt doesn't help those.


Cheers,

Joerg
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to