Improve the build speed by 2-3X by using PCH (#4746)

* Improve the build speed by 2-3X by using PCH. This avoids rebuilding large parts of QT and C++ std headers over and over.
* Unfortunately QMake is too opinionated for this to work on macOS so it is used on Windows and Linux only.
* Remove qwindowsvistastyle.dll opengl32sw.dll from QT6 as they're not needed.
* Revert fa84a37 since we don't need it anymore.
This commit is contained in:
Magnus Gille
2025-12-10 10:38:29 -08:00
committed by GitHub
parent 06ed87db09
commit bf20980dd1
9 changed files with 119 additions and 14 deletions

13
.gitignore vendored
View File

@@ -64,3 +64,16 @@ doc/contrib/WASP Packet Protocol.pdf
# Qt testlib
target_wrapper.sh
# Precompiled Headers
*.gch
*.pch
*.gch/
_pch/
# Generated Source Files
*_lex.cpp
*_yacc.cpp
*_yacc.h
qrc_*.cpp