Hello,

I try to build Qt on a 64bit Windows system with Visual Studio 2005 because I wanna use PyQt4 on 64bit. My steps were:

1. built sip-snapshot-4.10.3-f760366cea3b (works fine)
2. download Qt Sdk 4.6.3 for windows and install under C:\Qt\4.6.3
3. delete C:\Qt\4.6.3\qt\src\3rdparty\webkit\WebCore\tmp\moc \{debug,release}_shared/mocinclude.tmp)
4. Use Visual Studio 2008 x64 Win64 Command Prompt
5. set QTDIR=C:\Qt\4.6.3\qt
6. set PATH=%PATH%;C:\Qt\4.5.2\bin

then I tried:

1. configure -opensource -platform win32-msvc2008 (didn't work)

2. configure -no-webkit -opensource -platform win32-msvc2008 (didn't work)

3. configure -debug-and-release -no-qt3support -no-webkit -opensource -platform win32-msvc2008 (didn't work)

4. configure -debug-and-release -no-qt3support -no-webkit -opensource -platform win32-msvc2005 (didn't work)

Error messages always was:

C:\Qt\4.6.3\qt\bin\moc.exe -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DW
IN32 -DQT_LARGEFILE_SUPPORT -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtj
scyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_USIN
G_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_MAKEDLL -DQT_NO_CAST_TO_AS
CII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DBUILDING_QT__
=1 -DUSE_SYSTEM_MALLOC -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF
-DENABLE_JIT=0 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS
_EXPORT= -DJS_EXPORTDATA= -DQT_DLL -DQT_CORE_LIB @tmp\moc\debug_shared/mocinclud
e.tmp -D_MSC_VER=1500 -DWIN32 api\qscriptextensionplugin.h -o tmp\moc\debug_shar
ed\moc_qscriptextensionplugin.cpp
api\qscriptextensionplugin.h(43): Error: Undefined interface
NMAKE : fatal error U1077: 'C:\Qt\4.6.3\qt\bin\moc.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.


I would be very pleased if somebody can help me