设为首页收藏本站

朵朵论坛

查看: 924|回复: 0

第二篇 Pps钱包开发(第五节Qt钱包的修改与编译)

[复制链接]

该用户从未签到

146

主题

331

帖子

8778

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
8778
发表于 2016-3-1 15:49:08 | 显示全部楼层 |阅读模式
1先建立一个Qt文件夹,然后将qt-everywhere-opensource-src-4.8.5.zip解压缩到里面。
然后通过cmd输入
cd C:\Qt\ qt-everywhere-opensource-src-4.8.5
configure -release -opensource -confirm-license -static-no-sql-sqlite -no-qt3support -no-opengl -qt-zlib -no-gif -qt-libpng -qt-libmng-no-libtiff -qt-libjpeg -no-dsp -no-vcproj -no-openssl -no-dbus -no-phonon -no-phonon-backend-no-multimedia -no-audio-backend -no-webkit -no-script -no-scripttools-no-declarative -no-declarative-debug -no-style-plastique -no-style-cleanlooks-no-style-motif -no-style-cde -nomake demos -nomake examples
mingw32-make
然后将"C:\Qt\qt-everywhere-opensource-src-4.8.5\bin;添加到path里面去。
2编辑C:\ Fuzzyshares-master\peershares-qt.pro
Notepad++进行修改
# Dependency library locations can be customized with:
#   BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
#   BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively
BOOST_LIB_SUFFIX=-mgw48-mt-s-1_55
BOOST_INCLUDE_PATH=C:/boost_1_55_0-mgw
BOOST_LIB_PATH=C:/boost_1_55_0-mgw/stage/lib
BDB_INCLUDE_PATH=C:/db-4.8.30.NC-mgw/build_unix
BDB_LIB_PATH=C:/db-4.8.30.NC-mgw/build_unix
OPENSSL_INCLUDE_PATH=C:/openssl-1.0.1g-mgw/include
OPENSSL_LIB_PATH=C:/openssl-1.0.1g-mgw
MINIUPNPC_INCLUDE_PATH=C:/miniupnpc-1.9-mgw
MINIUPNPC_LIB_PATH=C:/miniupnpc-1.9-mgw
QRENCODE_INCLUDE_PATH=C:/qrencode-3.4.3-mgw
QRENCODE_LIB_PATH=C:/qrencode-3.4.3-mgw/.libs
并增加一句:
CONFIG += stati
3编译peershares-qt.exe
cmd编译:
cd C:\ Fuzzyshares-master\
qmake "USE_UPNP=-" peershares-qt.pro
mingw32-make -f Makefile.Release
双击钱包,可以打开,则本章结束!!!

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|朵朵社区一起购物吧|朵朵    

GMT+8, 2018-11-21 03:46 , Processed in 0.156251 second(s), 34 queries .

Powered by Discuz! X3.2

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表