lnk
lnk

Reputation: 603

qt creator does not see the qwt headers

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

Answers (2)

Dan
Dan

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

L&#225;szl&#243; Papp
L&#225;szl&#243; Papp

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

Related Questions