首页 qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程

qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程

举报
开通vip

qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程 qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程 1.qt标准安装过程 1.1 安装qt creator2.8.1,如安装在此路径下D:\Qt 1.2 下载MinGW-gcc440_1.zip,并解压到D:\Qt路径中 1.3 安装qt-win-opensource-4.8.5-mingw,安装路径同上,选择Mingw时,选择D:\Qt...

qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程
qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程 qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程 1.qt标准安装过程 1.1 安装qt creator2.8.1,如安装在此路径下D:\Qt 1.2 下载MinGW-gcc440_1.zip,并解压到D:\Qt路径中 1.3 安装qt-win-opensource-4.8.5-mingw,安装路径同上,选择Mingw时,选择D:\Qt中的mingw文件夹 到这里为止,qt的标准安装过程已经结束。配置请参考 qwt安装 2.1下载qwt6.0.1 2.2 解压D:\Qt中qwt-6.0.1文件夹 2.3将qwt-6.0.1解压到C盘的根目录下. 解压到某个目录下之后,需要修改qwt根目录下的qwtconfig.pri文件中的如下代码: win32 { INSTALLBASE = D:\Qt\Qwt6.0.1 } 并将 win32 { # On Windows you can’t mix release and debug libraries. # The designer is built in release mode. If you like to use it # you need a release version. For your own application development you # might need a debug version. # Enable debug_and_release + build_all if you want to build both. CONFIG += debug # release/debug/debug_and_release #CONFIG += debug_and_release #CONFIG += build_all } 修改成为 win32 { # On Windows you can’t mix release and debug libraries. # The designer is built in release mode. If you like to use it # you need a release version. For your own application development you # might need a debug version. # Enable debug_and_release + build_all if you want to build both. #CONFIG += debug # release/debug/debug_and_release #CONFIG += debug_and_release CONFIG += build_all } else { CONFIG += release # release/debug } 保存文件 2.4 启动“开始”菜单中的Qt4.8.5 Command Prompt,如下图所示: cd D:\Qt\qwt-6.0.1 qmake qwt.pro make make install qmake -set QMAKEFEATURES D:\Qt\Qwt6.0.1\features 则编译完成 2.5复制文件 运行之后,在D:\Qt\Qwt6.0.1\lib,里面有*.a和*.dll两类文件; 将*.a复制到D:\Qt\4.8.5\lib中; 将*.dll复制到D:\Qt\4.8.5\bin中; 然后到D:\Qt\Qwt6.0.1\plugins\designer文件夹中,把文件复制到相应的D:\Qt\4.8.5\plugins\designer文件夹中; 2.6在你的含有qwt工程文件中,加上一下这段代码: #qwt设置 DEFINES += QT_DLL QWT_DLL CONFIG(debug,debug|release):LIBS += -L”D:/Qt/4.8.5/lib” -lqwtd else:LIBS += -L”D:/Qt/4.8.5/lib” -lqwt INCLUDEPATH+= D:/Qt/4.8.5/include/qwt #end qwt 或者 在工程文件中添加 CONFIG += qwt
本文档为【qwt6.0.1+QtCreator2.8.1+qt-win-opensource-4.8.5-mingw安装过程】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_752311
暂无简介~
格式:doc
大小:168KB
软件:Word
页数:4
分类:互联网
上传时间:2014-01-05
浏览量:67