- Make directories C:\Qt\src and C:\Qt\build (the build procedure really doesn't like fancy paths, so do use something this simple)
- Download and unzip Qt Open Source SDK to C:\Qt\
src - Copy C:\Qt\src\qt\mkspecs C:\Qt\build\
- Open your Visual Studio Command Prompt
- $ "bin\vcvars32.bat"
- $ cd C:\Qt\src
- $ bin\qtenv.bat
- $ cd qt\
- $ configure -opensource -platform win32-msvc2008 -prefix C:\Qt\build
- $ nmake
- $ nmake install
- set QTDIR=C:\Qt\build
note: if you get link errors warning about inability to find MOC-related problems (mine was in WebCore), you may want to delete the mocinclude.tmp file (src/3rdparty/webkit/WebCore/tmp/moc/{debug,release}_shared/mocinclude.tmp).
1 comment:
Thanks for this, it got me going when I was well stumped!
On my install (2009.04 version of the Qt SDK), qtenv.bat clobbered the pre-existing path and so nmake wasn't found. The solution was, of course, to simply run the vcvars batch file *after* qtenv.
Post a Comment