ich habe ein Problem, Qt4 in Visual Studio 2008 zu integrieren. Ich habe nicht wirklich den PLan von Visual Studio oder IDE im allgemeinen. Ich komme aus der Linux Ecke und habe dort nur mit Edior und Konsole programmiert. Ich habe mir aber un in den Kopf gesetzt es mit Visual Studio zu probieren. So aber nun zu meinem Problem.
Ich bin streng nach diserm howto vorgangen http://mm-werkstatt.informatik.uni-augs ... qt2005.pdf
Der Beispiel Source aus diesem howto wird ohne Fehler übersetzt, aber nicht gelinkt. Der Linker findet die Qt-Libs nicht. Umgebenungsvariabeln sind gesetzt, die Unterschiedlichen Projekteinstellungen habe ich auch vorgenommen. Ich weis leider nun nicht mehr weiter. Ich probiere schon eine Weile rum, aber ohne Erfolg. Wäre toll wenn mir jemand helfen könnte
Anbei noch die Ausgabe des Fehlers:
Code: Alles auswählen
Die temporäre Datei "c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\Debug\BAT00000150164952.bat" wird erstellt. Inhalt:
[
@echo off
C:\Qt\4.4.3/bin/uic.exe "c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\MainWindow.ui" -o ui_MainWindow.h
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender Quelle zurückgegeben:
exit 1
:VCEnd
]Erstellen der Befehlszeile """c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\Debug\BAT00000150164952.bat"""Die temporäre Datei "c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\Debug\RSP00000250164952.rsp" wird erstellt. Inhalt:
[
/Od /I "C:\Qt\4.4.3\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP ".\MainWindow.cpp"
".\main.cpp"
]Erstellen der Befehlszeile "cl.exe @"c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\Debug\RSP00000250164952.rsp" /nologo /errorReport:prompt"Die temporäre Datei "c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\Debug\TMP00000350164952.tmp" wird erstellt. Inhalt:
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\Debug\\SampleApplication.exe.embed.manifest"
]Erstellen der Befehlszeile "rc.exe /fo".\Debug\SampleApplication.exe.embed.manifest.res" "c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\Debug\TMP00000350164952.tmp""
Die temporäre Datei "c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\Debug\RSP00000450164952.rsp" wird erstellt. Inhalt:
[
/OUT:"C:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\Debug\SampleApplication.exe" /INCREMENTAL /LIBPATH:"C:\Qt\4.4.3\lib" /MANIFEST /MANIFESTFILE:"Debug\SampleApplication.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\Debug\SampleApplication.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE /NXCOMPAT /MACHINE:X86 qtmaind.lib QtGuid4.lib QtCored4.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".\Debug\main.obj"
".\Debug\MainWindow.obj"
".\Debug\SampleApplication.exe.embed.manifest.res"
]Erstellen der Befehlszeile "link.exe @"c:\Users\Tom\Documents\Visual Studio 2008\Projects\SampleProject\src\SampleApplication\Debug\RSP00000450164952.rsp" /NOLOGO /ERRORREPORT:PROMPT"
tYREL