How to configure mkspec for paralel builds on Windows
Edit qmake.conf file in Qt\mkspecs\win32-msvcXXXX. Add -MP2 / -MP4 to the following defines:
QMAKE_CFLAGS_RELEASE = -O2 -MD -MP4 QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MD -Zi -MP4 QMAKE_CFLAGS_DEBUG = -Zi -MDd -MP4
Leave a Reply