Ich hab ein kleines Problem mit dem ACS Patch für Qt 4.0.1, bzw. nicht mit dem Patch sondern mit dem VC Toolkit.
Wollte heute die Qt kompilieren, hab das VC Toolkit installiert, und dann das neue PSDK (http://www.microsoft.com/downloads/deta ... laylang=en).
Hatte dort schon einige Auswahlprobleme, denn obwohl MS schreibt das:
Code: Alles auswählen
This edition of the SDK replaces the previous SDKs for Windows XP SP2 and Windows Server 2003 and can be used to develop applications for those platforms.Ok, trotzdem runtergeladen und Installiert, habe alles Installiert bis auf die x64, ia64, samples und sources.
Dann die Include, Lib, und Path Variable erweitert, und die QTDIR gesetzt.
Dann wollte ich mit qconfigure msvc.net -debug-and-release compilieren, was auch solange gut geht, bis er qmake linken will, dann kommt der Fehler das die delayimp.lib nicht gelinkt werden konnte.
Diese ist bei dem PSDK nur als x64 Version dabei, was ich nach einer vollständigen Installation (ausser doku und source) herausgefunden hatte.
Frage 1: Habe ich irgendein SDK, etc. zu installieren vergessen?
Dann habe ich aus meinem VS.Net 2003 Academic auf einem anderen Rechner die Libs kopiert, dachte mir müsste eigentlich gehen, nachdem ich Qt gebaut habe brauche ich die eh nicht mehr. Das Linken von qmake hat dann endlich funktioniert.
Dann schon der nächste Fehler: Beim compilieren von QtCore kommen folgende Fehler:
Code: Alles auswählen
cl -c -nologo -Zm200 -GS -wd4996 -Od -ZI -Gm -MDd -W3 -GR -EHsc -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_S
UPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -D_MSC_VER=1300 -DWIN32 -I"
C:/prog/Qt4.0.1/include" -I"tmp" -I"C:/prog/Qt4.0.1/include/QtCore" -I"C:\prog\Qt4.0.1\include\qtmain" -I"tmp" -I"C:/p
rog/Qt4.0.1/include/ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"C:/prog/Qt4.0.1/mkspecs/win32-msvc.net" -Fotmp\obj\deb
ug_shared\ @C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\nm2EA.tmp
qtmain_win.cpp
c:\prog\Qt4.0.1\src\corelib\tools\qvector.h(445) : warning C4346: 'QVector<T>::iterator' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\prog\Qt4.0.1\src\corelib\tools\qvector.h(445) : error C2143: syntax error : missing ';' before 'QVector<T>::insert'
c:\prog\Qt4.0.1\src\corelib\tools\qvector.h(445) : error C2501: 'QVector<T>::iterator' : missing storage-class or type specifiers
c:\prog\Qt4.0.1\src\corelib\tools\qvector.h(445) : warning C4346: 'QVector<T>::insert' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\prog\Qt4.0.1\src\corelib\tools\qvector.h(445) : error C2143: syntax error : missing ',' before '&'
c:\prog\Qt4.0.1\src\corelib\tools\qvector.h(479) : warning C4346: 'QVector<T>::iterator' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\prog\Qt4.0.1\src\corelib\tools\qvector.h(479) : error C2143: syntax error : missing ';' before 'QVector<T>::erase'
c:\prog\Qt4.0.1\src\corelib\tools\qvector.h(479) : error C2501: 'QVector<T>::iterator' : missing storage-class or type
specifiers
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\prog\Microsoft Platform SDK\bin\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
Hoffe das mir jemand helfen kann?!
mfg
uhu01