Visual Studio 6 und QT
Verfasst: 25. März 2005 14:36
Hi,
ich verwende Visual Studio 6 (SP6) und wollte nun in die QT Programmierung einsteigen. Beim ausführen des ersten Testprogrammes scheitere ich bereits:
Ich habe folgende Datei von QT heruntergeladen und installiert: setup-qt-win-msvc-3.1.0-b1.exe
Ich habe die Links in den Visual Studio Settings vorgenommen (hoffentlich alle und richtig)
Der Linker spuckt folgenden Fehler aus:
--------------------Konfiguration: hello - Win32 Debug--------------------
Linker-Vorgang läuft...
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual __thiscall QApplication::~QApplication(void)" (??1QApplication@@UAE@XZ)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: int __thiscall QApplication::exec(void)" (?exec@QApplication@@QAEHXZ)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual void __thiscall QApplication::setMainWidget(class QWidget *)" (?setMainWidget@QApplication@@UAEXPAVQWidget@@@Z)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: __thiscall QLabel::QLabel(class QString const &,class QWidget *,char const *,unsigned int)" (??0QLabel@@QAE@ABVQString@@PAVQWidget@@PBDI@Z)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: __thiscall QString::QString(char const *)" (??0QString@@QAE@PBD@Z)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: __thiscall QApplication::QApplication(int &,char * *)" (??0QApplication@@QAE@AAHPAPAD@Z)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: void __thiscall QStringData::deleteSelf(void)" (?deleteSelf@QStringData@@QAEXXZ)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A)
Debug/hello.exe : fatal error LNK1120: 8 unaufgeloeste externe Verweise
Fehler beim Ausführen von link.exe.
hello.exe - 9 Fehler, 0 Warnung(en)
Was habe ich falsch (bzw. noch nicht) gemacht?
Gruss,
Karl
ich verwende Visual Studio 6 (SP6) und wollte nun in die QT Programmierung einsteigen. Beim ausführen des ersten Testprogrammes scheitere ich bereits:
Ich habe folgende Datei von QT heruntergeladen und installiert: setup-qt-win-msvc-3.1.0-b1.exe
Ich habe die Links in den Visual Studio Settings vorgenommen (hoffentlich alle und richtig)
Der Linker spuckt folgenden Fehler aus:
--------------------Konfiguration: hello - Win32 Debug--------------------
Linker-Vorgang läuft...
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual __thiscall QApplication::~QApplication(void)" (??1QApplication@@UAE@XZ)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: int __thiscall QApplication::exec(void)" (?exec@QApplication@@QAEHXZ)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual void __thiscall QApplication::setMainWidget(class QWidget *)" (?setMainWidget@QApplication@@UAEXPAVQWidget@@@Z)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: __thiscall QLabel::QLabel(class QString const &,class QWidget *,char const *,unsigned int)" (??0QLabel@@QAE@ABVQString@@PAVQWidget@@PBDI@Z)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: __thiscall QString::QString(char const *)" (??0QString@@QAE@PBD@Z)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: __thiscall QApplication::QApplication(int &,char * *)" (??0QApplication@@QAE@AAHPAPAD@Z)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: void __thiscall QStringData::deleteSelf(void)" (?deleteSelf@QStringData@@QAEXXZ)
hello.obj : error LNK2001: Nichtaufgeloestes externes Symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A)
Debug/hello.exe : fatal error LNK1120: 8 unaufgeloeste externe Verweise
Fehler beim Ausführen von link.exe.
hello.exe - 9 Fehler, 0 Warnung(en)
Was habe ich falsch (bzw. noch nicht) gemacht?
Gruss,
Karl