PDA

View Full Version : Error Linking QWT-project



effendi
27th October 2008, 01:01
Hello!

I'm quite new in this Community and got in contact with Qt some weeks ago.
Now I've tried to integrate Qwt.

I suceeded in compiling, getting the Qwt-widgets into the designer.
Also the example-projects work fine.


But trying to create an own project I get this linker error:

error LNK2019: unresolved external symbol "public: __thiscall
QwtPlot::QwtPlot(class QWidget *)" (??0QwtPlot@@QAE@PAVQWidget@@@Z)
referenced in function "public: virtual class QWidget * __thiscall
QwtDesignerPlugin::PlotInterface::createWidget(cla ss QWidget *)"

Just don't know how to fix it.

I'm using VS2008.

Thanks for your help and time,

Christian

swamyonline
28th October 2008, 07:54
i hope u hv done the following to your project file.


INCLUDEPATH += c:\qwt-5.1.1\include
LIBS += c:\qwt-5.1.1\lib\qwt5.dll
DEFINES += QWT_DLL


bye

swamy