顯示具有 Qt 標籤的文章。 顯示所有文章
顯示具有 Qt 標籤的文章。 顯示所有文章

星期二, 1月 26, 2010

Enable multi-core compiling with Visual Studio 2005/2008 for Qt

for Visual studio 2005 mkspecs\win32-msvc2005\qmake.conf
for Visual studio 2008 mkspecs\win32-msvc2008\qmake.conf

change
QMAKE_CFLAGS = -nologo -Zm200 -Zc:wchar_t-
to
QMAKE_CFLAGS = -nologo -Zm200 -MP -Zc:wchar_t-

Speeding up Visual C++ Qt Builds (jom)

1. extract jom binary to %QTDIR%\bin
2. run jom instead of nmake

binary stored place: ftp://ftp.qt.nokia.com/jom/