1. Downloaded the LGPL version: qt-win-opensource-4.5.0-mingw.exe (from http://www.qtsoftware.com/downloads)
2. Ran qt-win-opensource-4.5.0-mingw.exe which also installs MinGW
3. Setup PATH environment to have C:\Qt and c:\Qt\bin and C:\MinGW and C:\MinGW\bin
4. Set Environmental Variable QTDIR to C:\Qt
5. Set Environmental Variable QMAKESPEC to win32-msvc2008
6. Rebooted
7. Started VC++
8. Opened Visual Studio 2008 Command Prompt
9. cd C:\Qt\4.5.0
10. ran configure in the Command Prompt (seemed fine)
11. ran nmake in the same Command Prompt

Got the following Error:

Qt Code:
  1. cl -c -FIWebKit_pch.h -YuWebKit_pch.h -Fptmp\obj\debug_shared\QtWebKitd_
  2. pch.pch -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -DQT_SHARED -DQT_THREAD_S
  3. UPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DBUILDING_QT__=1 -DUSE_SYSTEM_M
  4. ALLOC -DNDEBUG -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3
  5. _SUPPORT -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DBUILD_WEBKIT -D_HAS_TR1=0 -DENABL
  6. E_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DEN
  7. ABLE_DATABASE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_XPATH=1 -DENABLE_WML=0 -DE
  8. NABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FILTERS=1 -DENABLE_SVG_FOREIGN_OBJ
  9. ECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENAB
  10. LE_VIDEO=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -D
  11. WTF_CHANGES=1 -DBUILDING_QT__ -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLIT
  12. E_OMIT_COMPLETE -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"..\..\..
  13. \..\include\QtCore" -I"..\..\..\..\include\QtNetwork" -I"..\..\..\..\include\QtG
  14. ui" -I"..\..\..\..\include" -I"storage" -I"..\JavaScriptCore\os-win32" -I"..\Web
  15. Kit\qt\Api" -I"..\..\..\..\include\QtWebKit" -I"tmp\rcc\debug_shared" -I"tmp" -I
  16. "." -I"..\JavaScriptCore" -I"..\JavaScriptCore\ForwardingHeaders" -I"..\JavaScri
  17. ptCore\interpreter" -I"..\JavaScriptCore\bytecode" -I"..\JavaScriptCore\debugger
  18. " -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\runtime" -I"c:\Qt\4.5.0\src\
  19. 3rdparty\webkit\WebCore\..\JavaScriptCore\bindings" -I"..\JavaScriptCore\wrec" -
  20. I"..\JavaScriptCore\jit" -I"..\JavaScriptCore\wtf" -I"tmp" -I"..\JavaScriptCore"
  21. -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\bytecompiler" -I"..\JavaScrip
  22. tCore\debugger" -I"..\JavaScriptCore\runtime" -I"..\JavaScriptCore\wtf" -I"..\Ja
  23. vaScriptCore\wtf\unicode" -I"..\JavaScriptCore\interpreter" -I"..\JavaScriptCore
  24. \jit" -I"..\JavaScriptCore\profiler" -I"..\JavaScriptCore\wrec" -I"..\JavaScript
  25. Core\API" -I"..\..\webkit" -I"..\JavaScriptCore\ForwardingHeaders" -I"..\JavaScr
  26. iptCore\bytecode" -I"..\JavaScriptCore\assembler" -I"..\JavaScriptCore\os-win32"
  27. -I"..\JavaScriptCore\pcre" -I"c:\Qt\4.5.0\src\3rdparty\webkit\WebKitBuild\Debug
  28. \JavaScriptCore\tmp" -I"platform\qt" -I"platform\network\qt" -I"platform\graphic
  29. s\filters" -I"platform\graphics\transforms" -I"platform\graphics\qt" -I"svg\grap
  30. hics\qt" -I"loader" -I"page\qt" -I"..\WebKit\qt\WebCoreSupport" -I"..\WebKit\qt\
  31. Api" -I"bridge\qt" -I"." -I"ForwardingHeaders" -I"..\..\webkit" -I"platform" -I"
  32. platform\animation" -I"platform\network" -I"platform\graphics" -I"svg\animation"
  33. -I"svg\graphics" -I"svg\graphics\filters" -I"platform\sql" -I"platform\text" -I
  34. "loader" -I"loader\appcache" -I"loader\archive" -I"loader\icon" -I"css" -I"dom"
  35. -I"page" -I"page\animation" -I"bridge" -I"editing" -I"rendering" -I"rendering\st
  36. yle" -I"history" -I"inspector" -I"xml" -I"html" -I"wml" -I"bindings\js" -I"svg"
  37. -I"platform\image-decoders" -I"plugins" -I"bridge" -I"bridge\c" -I"bridge\qt" -I
  38. "generated" -I"plugins\win" -I"..\..\sqlite" -I"..\..\..\..\include\phonon" -I".
  39. .\..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"..\..\..\..\mkspe
  40. cs\win32-msvc2008" -Fotmp\obj\debug_shared\ @C:\Users\Greg\AppData\Local\Temp\nm
  41. A2D5.tmp
  42. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
  43. \nmake.exe"' : return code '0xc0000005'
  44. Stop.
  45. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  46. Stop.
To copy to clipboard, switch view to plain text mode 

I tried rebooting and just running nmake again - but the same error persists.

Can anyone help me?