It depends on whether you've got QMAKESPEC set to your default compiler platform. Its worth using
configure -platform win32-msvc2005
configure -platform win32-msvc2005
To copy to clipboard, switch view to plain text mode
to make sure. I put all my versions in in a folder like F:\Qt\4.3.2 and now I've got a single batch file called builldqt.bat which is at F:\Qt. Its got all my options in and looks like.
cd %1
call vsvars2005.bat
call "%DXSDK_DIR%\Utilities\Bin\dx_setenv.cmd"
configure -platform win32-msvc2005 -openssl -stl -accessibility -debug-and-release
-shared -no-fast -qt-sql-odbc -rtti -qt-gif -vcproj -qt-zlib -qt-libmng
-qt-libpng -qt-gif -qt-libtiff
-qt-libjpeg -direct3d -arch windows -I F:\OpenSSL\include -L F:\OpenSSL\lib
nmake
:End
echo Done
pause
cd %1
call vsvars2005.bat
call "%DXSDK_DIR%\Utilities\Bin\dx_setenv.cmd"
configure -platform win32-msvc2005 -openssl -stl -accessibility -debug-and-release
-shared -no-fast -qt-sql-odbc -rtti -qt-gif -vcproj -qt-zlib -qt-libmng
-qt-libpng -qt-gif -qt-libtiff
-qt-libjpeg -direct3d -arch windows -I F:\OpenSSL\include -L F:\OpenSSL\lib
nmake
:End
echo Done
pause
To copy to clipboard, switch view to plain text mode
So now I can explode a new version from the tar/zip into the folder, open a command prompt to F:\Qt and run, say
buldqt 4.3.2
buldqt 4.3.2
To copy to clipboard, switch view to plain text mode
p.s. the vsvars2005.bat is my own environment set up for the compile - based on vsvars32.bat. I hope you get the idea.
Pete
Bookmarks