Hi
I am new to Qt and even more new to Qwt.
It is the first time I am using Qwt, and I can't compile it.
I am using QT Creator 2.1.80 (based on Qt 4.7.0) and have made a "MainWindow" in the graphic "Form" editor.
Screenshot:
When I try to compile this , the error occurs in ui_mainwindow.h: 107: error: undefined reference to `QwtPlot::QwtPlot(QWidget*)'
line 107:
centralWidget
= new QWidget(MainWindow
);
centralWidget
->setObjectName
(QString::fromUtf8("centralWidget"));
qwtKurva
= new QwtPlot(centralWidget
);
// **** LINE 107 **** qwtKurva
->setObjectName
(QString::fromUtf8("qwtKurva"));
qwtKurva->setEnabled(false);
qwtKurva
->setGeometry
(QRect(10,
40,
521,
211));
centralWidget = new QWidget(MainWindow);
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
qwtKurva = new QwtPlot(centralWidget); // **** LINE 107 ****
qwtKurva->setObjectName(QString::fromUtf8("qwtKurva"));
qwtKurva->setEnabled(false);
qwtKurva->setGeometry(QRect(10, 40, 521, 211));
To copy to clipboard, switch view to plain text mode
The code is generated automatically, so I don't know what is causing the problem.
Bookmarks