Has anyone else had problems getting Qwt 5 to work for Qt4 on a windows box?
What I did to install:
cd qwt 5.0.0rc0
qmake
make
Did I miss an important step somewhere? I installed the designer plugin, and that works well (although I'm not totally sure, as I'm not using designer for my QMainWindow widget as its easier to customize/read in plain C++). Problem is, when I try to make a new QwtPlot, at compile time it says that 'QwtPlot::QwtPlot(QWidget*)' is an undefined reference. As a temporary fix, I put in a dummy constructor in my mainwindow.cpp file:
#include <Qwt\qwt_plot.h>
QwtPlot::QwtPlot(QWidget*){
}
And then it says 'vtable for QwtPlot' is an undefined reference. Hmmmm. Its like I have no moc or .obj files for Qwt.
Another thing that is strange, is that I can compile the Qwt examples as long as they're in that original qwt 5 folder that I unzipped to my desktop. But if I move them out of that folder, they have the same problem as my MainWindow code. I must be missing something.
Thanks for any help!
Bookmarks