huozhenhua的个人博客分享 http://blog.sciencenet.cn/u/huozhenhua

博文

qwt-ing,做出东西总得要应用,去coding吧

已有 3744 次阅读 2015-12-2 08:58 |个人分类:C/C++|系统分类:科研笔记

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:

QT_PLUGIN_PATH="${QWT_ROOT}/plugins:$QT_PLUGIN_PATH"
export QT_PLUGIN_PATH


The Qt documentation explains all options in detail:

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安装目录





https://blog.sciencenet.cn/blog-623402-940409.html

上一篇:fedora 19 安装及配置
下一篇:QWT 的几个要用的例子之一 simpleplot
收藏 IP: 218.76.28.*| 热度|

2 蔡小宁 刘洋

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-7-17 19:24

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部