Hi,
I am a new Qwt user.
I want to run the Qwt examples on Windows xp(visual studio 2005).
With the help of instructions given in the forum i could successfully install qt and Qwt on my machine.i am able to run Qt examples successfully.
I have problem with Qwt examples.I wil explain the steps i have followed to run the Qwt examples first.
Building the Qwt
1. downloaded the qwt-6.0.0-rc3.zip from net and extracted.
2. edited the qwtconfig.pri file.
3.Launched visual studio 2005 .
4. opened qwt.pro using ''open solution from .pro file" in viausl studio.
5. built the project.This successfully created the lib files.
Run examples:
1.opened the .pro file in visual studio.
2. updated linker->additional dependies
3. built the solution.
I couldnt build the examples as i was facing the below linket errors.
linker errors:
Error 2 error LNK2019: unresolved external symbol "public: void __thiscall QwtDoubleRange::setRange(double,double,double,int) " (?setRange@QwtDoubleRange@@QAEXNNNH@Z) referenced in function "public: __thiscall MainWindow::MainWindow(class QWidget *)" (??0MainWindow@@QAE@PAVQWidget@@@Z) mainwindow.obj
Error 3 error LNK2019: unresolved external symbol "public: __thiscall QwtCounter::QwtCounter(class QWidget *)" (??0QwtCounter@@QAE@PAVQWidget@@@Z) referenced in function "public: __thiscall MainWindow::MainWindow(class QWidget *)" (??0MainWindow@@QAE@PAVQWidget@@@Z) mainwindow.obj
Error 84 error LNK2019: unresolved external symbol "public: virtual int __thiscall QwtPlot::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@QwtPlot@@UAEHW4Call@QMetaObject@@HPA PAX@Z) referenced in function "public: virtual int __thiscall Plot::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@Plot@@UAEHW4Call@QMetaObject@@HPAPAX @Z) moc_plot.obj
Error 85 fatal error LNK1120: 83 unresolved externals ..\..\examples\bin\bode.exe
I have no clue how to fix these errors and build the Qwt examples.
Eagerly waiting for some one to help me out.
Thanks a ton, in advance!
Bookmarks