||
QT QWT,一维画图与交互应用
QT安装已经很容易了,不提了.
这里记一下qwt.
cd qwt/
qmake
make
root
make install
没遇到任何问题,PS. centos, qt5.5.1, qwt6.1.2
集成到QT Creator
on a Linux system you could add the following lines to .bashrc:
The Qt documentation explains all options in detail:
http://qt-project.org/doc/qt-5.0/qtdoc/deployment-plugins.html
http://qt-project.org/doc/qtcreator-2.7/adding-plugins.html.
cp ../qwt-6.1.2/plugins/designer/libqwt_designer_plugin.so ../QtCreator/bin/plugins/designer/
cp ../qwt-6.1.2/lib/* ../QtCreator/lib/qtcreator/
cp ../qwt-6.1.2/lib/* ../QT5.5/gcc_64/lib/
PS. 使用里 .pro文件中要加入
LIBS += -lqwt
INCLUDEPATH += -I "/usr/local/qwt-6.1.2/include"
为编译器指定qwt安装目录
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-23 03:27
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社