Optional: Get, Compile, Install QWT 5.0.0 (or newer): * NOTE: You
should not need to set the environment variables “QTDIR” or “QWT_CFLAGS”, so
leave them be (for now).
wget http://superb-east.dl.sourceforge.net/sourceforge/qwt/qwt-5.0.2.tar.bz2
tar jxf qwt-5.0.2.tar.bz2
cd qwt-5.0.2
* Now edit qwtconfig.pri: ** Change the unix version of
“INSTALLBASE” to “/usr/local” (was “/usr/local/qwt-5.0.2″); ** Change “doc.path”
to “$$INSTALLBASE/doc/qwt” (was “$$INSTALLBASE/doc”); ** Save, exit.
The
“doc” portion is in both HTML and man-style, but is all in
/usr/local/doc/{html,man}. While this isn’t the standard path, there doesn’t
seem to be an easy way to separate them and thus this is left as is.
Then:
qmake make sudo make install cd .. sudo apt-get install libqwt5-qt4 libqwt5-qt4-dev
linux安装qwt插件linux,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/lvdongjie/p/3762213.html