PDA

View Full Version : QwtDial not exits



hiuao
23rd August 2007, 07:30
Hi all!
I have just installed Qwt 5.0.2,and want to learn the examples.The examples can run,but when I use QwtDial and QwtDialNeedle to write program,it says they are not exit.I think Qt4 haven't recognized Qwt,am I right?How can I deal?
Thank you very much!

jpn
23rd August 2007, 10:22
You must add Qwt to INCLUDEPATH (http://doc.trolltech.com/4.3/qmake-variable-reference.html#includepath) and LIBS (http://doc.trolltech.com/4.3/qmake-variable-reference.html#libs) just like any other library. More or less something like:


INCLUDEPATH += /path/to/qwt-5.0.2/include
LIBS += -L/path/to/qwt-5.0.2/lib -lqwt5