Reputation: 603
I have installed qwt as it explained here. The problem is that compiler can not find qwt headers. When I type #include <qwt_plot_h>
in mainwindow.cpp
file, compiler gives an error: qwt_plot.h:No such file or directory.
Upvotes: 2
Views: 3066
Reputation: 31
You can use
SUBDIRS += "C:\qwt-6.1.4\src"
to make QWT consider all the requested headers and their source files in QWT source directory.
Upvotes: 0
Reputation: 53173
You need to put this into your project file:
CONFIG += qxt
QXT += core gui
You could invoke qmake like this, e.g. on Windows:
qmake -set QMAKEFEATURES C:\Qwt-6.1.0\features
Upvotes: 1