I'm trying to build qt 5 from the source files on Windows 7 64 bit using namke. Configure completes, but the nmake fails at some point saying in file gdom.h, invalid argument. I have Visual C++ 2010, Perl, and Python installed with the latest versions. Do I also need the Windows SDK? Will that make a difference? There seems to be a problem in the source file. Has anyone seen this? I have Windows 7 32 bit in a Virtual Machine. Maybe I'll try it there. Any input from someone is appreciated. Thanks.
Angle requires directx sdk too, and building Qt requires windows sdk, read here more details and see if you need directx sdk too.
Anyway there are already built with Visual Studio 2010 binaries to download, did you checked those to see if they are not enough for you
On my Windows 8 system compiling Qt5 without installing the Windows SDK failed. Here is how I compiled successfully Qt 5.0.1:
configure -developer-build -opensource -nomake examples -nomake tests