I have installed Qwt:
/usr/local/qwt-6.1.0/
features/
qwt.prf
qwtconfig.pri
qwtfunctions.pri
/usr/local/qwt-6.1.0/
features/
qwt.prf
qwtconfig.pri
qwtfunctions.pri
To copy to clipboard, switch view to plain text mode
I set `QMAKEFEATURES` as according to the docs:
qmake -set QMAKEFEATURES /usr/local/qwt-6.1.0/features
qmake -set QMAKEFEATURES /usr/local/qwt-6.1.0/features
To copy to clipboard, switch view to plain text mode
Sanity-check:
$ qmake -query
QMAKEFEATURES:/usr/local/qwt-6.1.0/features
...
$ qmake -query
QMAKEFEATURES:/usr/local/qwt-6.1.0/features
...
To copy to clipboard, switch view to plain text mode
In my project .pro file I add qwt:
QT += qwt
QT += qwt
To copy to clipboard, switch view to plain text mode
When I build...
$ qmake
$ make
...
Project ERROR: Unknown module(s) in QT: qwt
$ qmake
$ make
...
Project ERROR: Unknown module(s) in QT: qwt
To copy to clipboard, switch view to plain text mode
I have tried using an environment variable instead:
$ export QMAKEFEATURES=/usr/local/qwt-6.1.0/features
$ echo ${QMAKEFEATURES}
/usr/local/qwt-6.1.0/features/
$ qmake
$ make
$ export QMAKEFEATURES=/usr/local/qwt-6.1.0/features
$ echo ${QMAKEFEATURES}
/usr/local/qwt-6.1.0/features/
$ qmake
$ make
To copy to clipboard, switch view to plain text mode
And I still get the same problem.
I have tried to direct include the .prf in the .pro file:
include ( /usr/local/qwt-6.1.0/features/qwt.prf )
include ( /usr/local/qwt-6.1.0/features/qwt.prf )
To copy to clipboard, switch view to plain text mode
Same error again.
Why won't qmake pick up the prf file?
Bookmarks