《Qt》part 1 Qwt6.1.0图像库安装

来源:互联网 发布:手机视频搞怪软件 编辑:程序博客网 时间:2024/06/07 01:50

《Qt》part 1 Qwt6.1.0图像库安装                                                                                                                                                    


Qwt是基于Qt写的一个图形类库,开源,需要编译后才能使用,它的原文说明是这样的: 

Qwt - Qt Widgets for Technical Applications 

The Qwt library contains GUI Components and utility classes which are primarily useful for programs with a technical background. Beside a 2D plot widget it provides scales, sliders, dials, compasses, thermometers, wheels and knobs to control or display values, arrays, or ranges of type double. 

下面讲的是Qwt6.1.0版在Qt4.8.0+minGW+Qt Creator2.6.2环境下的安装与使用


1、请将"C:\Qt\qwt-6.1.0\designer\plugins\designer"目录下的
所有文件复制到 Qt的plugins\designer目录下,如:C:\Qt\4.8.0\plugins\designer

2、请将"C:\Qt\qwt-6.1.0\lib"目录下的
所有文件复制到Qt的lib目录下,如:C:\Qt\4.8.0\lib

3、使用时不要忘了在pro文件中,添加qwt的include路径,如INCLUDEPATH +=C:\Qt\qwt-6.1.0\include


Qt Creator2.6.2 + QWT6.1.0 下载地址
http://pan.baidu.com/s/1ntAv86H

使用方法:解压后,到“\qtcreator-2.6.2\bin\"目录下运行qtcreator.exe即可,亲测可用。
注:原来的Creator不要替换或删除;这里的qwt6.1.0是编译好的文件,直接按照步骤123做就可以了
可以保留两个版本的Creator;
比如我现在就有2.8.0和2.6.2两个版本;

一般情况下用2.8.0,用QWT的时候用2.6.2版本的。

之所以用2.6.2的Creator,是因为编译2.8.0时出错。

以下是我参考的资料,
QWT6.1.0详细傻瓜式安装教程.zip
http://pan.baidu.com/s/1bnxiLAn

0 0
原创粉丝点击