hi there!
i am trying to make my first 2d plot using the example from:
http://qwt.sourceforge.net/class_qwt_plot.html#_details

and i get error related to the constructor:

main.cpp:61: error: no matching function for call to ‘QwtPlot::QwtPlot(const char [11], int, int)’

my main is pretty simple:
#include <QApplication>
#include <QFont>
#include <QGridLayout>
#include <QPushButton>

#include "cannonfield.h"
#include "lcdrange.h"

#include <qwt_plot.h>
#include <qwt_plot_curve.h>
#include <qwt_text.h>

class MyWidget : public QWidget
{
public:
MyWidget(QWidget *parent = 0);
};


MyWidget::MyWidget(QWidget *parent)
: QWidget(parent)
{

...................

QwtPlot *myPlot = new QwtPlot("Two Curves", 0, 0);



.....................
}


int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyWidget widget;
widget.setGeometry(100, 100, 500, 355);
widget.show();
return app.exec();
}


my .pro file looks like
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += . /home/spectro/Documents/postdoc/qt/qwtHOME/src/
CONFIG += qwt /home/spectro/Documents/postdoc/qt/qwtHOME/src/

# Input
HEADERS += cannonfield.h lcdrange.h
SOURCES += cannonfield.cpp lcdrange.cpp main.cpp
Has this error to do with the installation/configuration files?