Ich versuche momentan QWT zu installieren.
Ich verwende Windows, Visual Studio 2008, QT4.8.6 und QWT6.1.2.
Ich bin auch schon ein gutes Stück vorangekommen.
Im QT-Designer bekomme ich die QWT-Widgets auch schon angezeigt und kann sie auf meine Oberfläche ziehen.
Aber wenn ich meine Applikation dann übersetzen möchte, bekomme ich eine Vielzahl von Fehlermeldungen.
Code: Alles auswählen
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __cdecl QwtPlot::QwtPlot(class QWidget *)" (__imp_??0QwtPlot@@QAA@PAVQWidget@@@Z)" in Funktion ""public: void __cdecl Ui_gcClass::setupUi(class QWidget *)" (?setupUi@Ui_gcClass@@QAAXPAVQWidget@@@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual struct QMetaObject const * __cdecl QwtPlot::metaObject(void)const " (?metaObject@QwtPlot@@UBAPBUQMetaObject@@XZ)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void * __cdecl QwtPlot::qt_metacast(char const *)" (?qt_metacast@QwtPlot@@UAAPAXPBD@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual int __cdecl QwtPlot::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@QwtPlot@@UAAHW4Call@QMetaObject@@HPAPAX@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual bool __cdecl QwtPlot::event(class QEvent *)" (?event@QwtPlot@@UAA_NPAVQEvent@@@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual bool __cdecl QwtPlot::eventFilter(class QObject *,class QEvent *)" (?eventFilter@QwtPlot@@UAA_NPAVQObject@@PAVQEvent@@@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual class QSize __cdecl QwtPlot::sizeHint(void)const " (?sizeHint@QwtPlot@@UBA?AVQSize@@XZ)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual class QSize __cdecl QwtPlot::minimumSizeHint(void)const " (?minimumSizeHint@QwtPlot@@UBA?AVQSize@@XZ)".
error LNK2001: Nicht aufgelöstes externes Symbol ""protected: virtual void __cdecl QwtPlot::resizeEvent(class QResizeEvent *)" (?resizeEvent@QwtPlot@@MAAXPAVQResizeEvent@@@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual class QwtScaleMap __cdecl QwtPlot::canvasMap(int)const " (?canvasMap@QwtPlot@@UBA?AVQwtScaleMap@@H@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __cdecl QwtPlot::updateLayout(void)" (?updateLayout@QwtPlot@@UAAXXZ)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __cdecl QwtPlot::drawCanvas(class QPainter *)" (?drawCanvas@QwtPlot@@UAAXPAVQPainter@@@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __cdecl QwtPlot::getCanvasMarginsHint(class QwtScaleMap const * const,class QRectF const &,double &,double &,double &,double &)const " (?getCanvasMarginsHint@QwtPlot@@UBAXQBVQwtScaleMap@@ABVQRectF@@AAN222@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __cdecl QwtPlot::drawItems(class QPainter *,class QRectF const &,class QwtScaleMap const * const)const " (?drawItems@QwtPlot@@UBAXPAVQPainter@@ABVQRectF@@QBVQwtScaleMap@@@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual class QVariant __cdecl QwtPlot::itemToInfo(class QwtPlotItem *)const " (?itemToInfo@QwtPlot@@UBA?AVQVariant@@PAVQwtPlotItem@@@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual class QwtPlotItem * __cdecl QwtPlot::infoToItem(class QVariant const &)const " (?infoToItem@QwtPlot@@UBAPAVQwtPlotItem@@ABVQVariant@@@Z)".
error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __cdecl QwtPlot::replot(void)" (?replot@QwtPlot@@UAAXXZ)".
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __cdecl QwtPlot::~QwtPlot(void)" (__imp_??1QwtPlot@@UAA@XZ)" in Funktion ""public: virtual void * __cdecl QwtPlot::`scalar deleting destructor'(unsigned int)" (??_GQwtPlot@@UAAPAXI@Z)".
Ich denke mal, dass es an den Projekteinstellungen (Linker) liegen könnte. Aber ich weiß nicht, was genau das Problem ist.
Viele Grüße,
Melle