Much thanks to Mariusz for graciously hosting me in his home, and taking me out to see the sights with his family.
Sunday, September 27, 2009
New Zealand
Thursday, September 24, 2009
Building Qt4 for Windows using MSVC 2008
- 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).
Subscribe to:
Posts (Atom)