I have been following the instructions here and here

I had trouble running winzip wizard to download qt so I had to just drag and drop into the c:\lib\qt\4.2.3 directory.

Then I applied the qt-win patch. That seemed to go fine.

I ran vsvars32.bat script to configure the environment for the VC++ 2005 compiler... Apparently all happiness and light.

then I ran
C:\lib\qt\4.2.3>qconfigure.bat msvc20005
from which I recieved a compiler error
.\project.cpp(42) : fatal error C1083: Cannot open include file: 'Windows.h': no such file or directory

I could see Windows.h in the Microsoft Include directory so I followed the suggestion above and ran the .bat with the include file explicitely specified.
>qconfigure.bat msvc2005 -I "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include -L "C:\Program Files \ Microsoft Platform SDK for Windows Server 2003 R2\Lib"

to no avail. The file still could not be found.

Thanks for your help.

JJ

PS from the command prompt window:

Include paths...............C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include
Additional libraries........-LC:\Program Files\Microsoft Platform SDK for Window
s Server 2003 R2\Lib
Processing of project files have been disabled.
Only use this option if you really know what you're doing.

"Fixing qconfig.h"
1 file(s) copied.

Going to compile qmake now
Continue? (Y/N):y

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

cl -c -FIqmake_pch.h -Yuqmake_pch.h -Fptmp\qmake_pch.pch -nologo -Zm200
-GS -O1 -MD -DNDEBUG -GR -EHsc -W3 -DUNICODE -DQT_LARGEFILE_SUPPORT -DWIN32 -D_C
RT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DQT_BUILD_QMAKE -DQT_BOOTSTR
APPED -DQT_NO_TEXTCODEC -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_UNI
CODETABLES -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQMAKE_OPENSOURCE_EDITION -D
QT_NODLL -DQT_NO_THREAD -DQT_NO_QOBJECT -I"../src/corelib/arch/generic" -I"gener
ators" -I"generators\unix" -I"generators\win32" -I"generators\mac" -I"../include
" -I"../include/QtCore" -I"../src/3rdparty/md5" -I"../qmake" -I"..\mkspecs\win32
-msvc2005" -Fotmp\ @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm5.tmp
project.cpp
.\project.cpp(42) : fatal error C1083: Cannot open include file: 'Windows.h': No
such file or directory
option.cpp
.\option.cpp(650) : fatal error C1083: Cannot open include file: 'windows.h': No
such file or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.