forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bitcoin#521 from laanwj/qt
Qt GUI
- Loading branch information
Showing
154 changed files
with
16,008 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
TEMPLATE = app | ||
TARGET = | ||
INCLUDEPATH += src src/json src/cryptopp src/qt | ||
DEFINES += QT_GUI | ||
# DEFINES += SSL | ||
CONFIG += no_include_pwd | ||
|
||
# for boost 1.37, add -mt to the boost libraries | ||
LIBS += -lssl -lcrypto -ldb_cxx | ||
unix:!macx:LIBS += -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread | ||
macx:LIBS += -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_thread-mt | ||
macx:DEFINES += __WXMAC_OSX__ MSG_NOSIGNAL=0 BOOST_FILESYSTEM_VERSION=3 | ||
windows:LIBS += -lboost_system-mgw44-mt-1_43 -lboost_filesystem-mgw44-mt-1_43 -lboost_program_options-mgw44-mt-1_43 -lboost_thread-mgw44-mt-1_43 -lws2_32 -lgdi32 | ||
windows:DEFINES += __WXMSW__ | ||
windows:RC_FILE = src/qt/res/bitcoin-qt.rc | ||
|
||
# use: qmake "USE_UPNP=1" | ||
# miniupnpc (http://miniupnp.free.fr/files/) must be installed | ||
count(USE_UPNP, 1) { | ||
message(Building with UPNP support) | ||
DEFINES += USE_UPNP=$$USE_UPNP | ||
LIBS += -lminiupnpc | ||
} | ||
|
||
count(USE_DBUS, 1) { | ||
message(Building with DBUS (Freedesktop notifications) support) | ||
DEFINES += QT_DBUS | ||
QT += dbus | ||
} | ||
|
||
# for extra security against potential buffer overflows | ||
QMAKE_CXXFLAGS += -fstack-protector | ||
QMAKE_LFLAGS += -fstack-protector | ||
|
||
# disable quite some warnings because bitcoin core "sins" a lot | ||
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch | ||
|
||
# Input | ||
DEPENDPATH += src/qt src src/cryptopp src json/include | ||
HEADERS += src/qt/bitcoingui.h \ | ||
src/qt/transactiontablemodel.h \ | ||
src/qt/addresstablemodel.h \ | ||
src/qt/optionsdialog.h \ | ||
src/qt/sendcoinsdialog.h \ | ||
src/qt/addressbookpage.h \ | ||
src/qt/aboutdialog.h \ | ||
src/qt/editaddressdialog.h \ | ||
src/qt/bitcoinaddressvalidator.h \ | ||
src/base58.h \ | ||
src/bignum.h \ | ||
src/util.h \ | ||
src/uint256.h \ | ||
src/serialize.h \ | ||
src/cryptopp/stdcpp.h \ | ||
src/cryptopp/smartptr.h \ | ||
src/cryptopp/simple.h \ | ||
src/cryptopp/sha.h \ | ||
src/cryptopp/secblock.h \ | ||
src/cryptopp/pch.h \ | ||
src/cryptopp/misc.h \ | ||
src/cryptopp/iterhash.h \ | ||
src/cryptopp/cryptlib.h \ | ||
src/cryptopp/cpu.h \ | ||
src/cryptopp/config.h \ | ||
src/strlcpy.h \ | ||
src/main.h \ | ||
src/net.h \ | ||
src/key.h \ | ||
src/db.h \ | ||
src/script.h \ | ||
src/noui.h \ | ||
src/init.h \ | ||
src/headers.h \ | ||
src/irc.h \ | ||
src/json/json_spirit_writer_template.h \ | ||
src/json/json_spirit_writer.h \ | ||
src/json/json_spirit_value.h \ | ||
src/json/json_spirit_utils.h \ | ||
src/json/json_spirit_stream_reader.h \ | ||
src/json/json_spirit_reader_template.h \ | ||
src/json/json_spirit_reader.h \ | ||
src/json/json_spirit_error_position.h \ | ||
src/json/json_spirit.h \ | ||
src/qt/clientmodel.h \ | ||
src/qt/guiutil.h \ | ||
src/qt/transactionrecord.h \ | ||
src/qt/guiconstants.h \ | ||
src/qt/optionsmodel.h \ | ||
src/qt/monitoreddatamapper.h \ | ||
src/qtui.h \ | ||
src/qt/transactiondesc.h \ | ||
src/qt/transactiondescdialog.h \ | ||
src/qt/bitcoinamountfield.h \ | ||
src/wallet.h \ | ||
src/keystore.h \ | ||
src/qt/transactionfilterproxy.h \ | ||
src/qt/transactionview.h \ | ||
src/qt/walletmodel.h \ | ||
src/bitcoinrpc.h \ | ||
src/qt/overviewpage.h \ | ||
src/qt/csvmodelwriter.h \ | ||
src/crypter.h \ | ||
src/qt/sendcoinsentry.h \ | ||
src/qt/qvalidatedlineedit.h \ | ||
src/qt/bitcoinunits.h \ | ||
src/qt/qvaluecombobox.h \ | ||
src/qt/askpassphrasedialog.h \ | ||
src/protocol.h \ | ||
src/qt/notificator.h | ||
|
||
SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \ | ||
src/qt/transactiontablemodel.cpp \ | ||
src/qt/addresstablemodel.cpp \ | ||
src/qt/optionsdialog.cpp \ | ||
src/qt/sendcoinsdialog.cpp \ | ||
src/qt/addressbookpage.cpp \ | ||
src/qt/aboutdialog.cpp \ | ||
src/qt/editaddressdialog.cpp \ | ||
src/qt/bitcoinaddressvalidator.cpp \ | ||
src/cryptopp/sha.cpp \ | ||
src/cryptopp/cpu.cpp \ | ||
src/util.cpp \ | ||
src/script.cpp \ | ||
src/main.cpp \ | ||
src/init.cpp \ | ||
src/net.cpp \ | ||
src/irc.cpp \ | ||
src/db.cpp \ | ||
src/json/json_spirit_writer.cpp \ | ||
src/json/json_spirit_value.cpp \ | ||
src/json/json_spirit_reader.cpp \ | ||
src/qt/clientmodel.cpp \ | ||
src/qt/guiutil.cpp \ | ||
src/qt/transactionrecord.cpp \ | ||
src/qt/optionsmodel.cpp \ | ||
src/qt/monitoreddatamapper.cpp \ | ||
src/qt/transactiondesc.cpp \ | ||
src/qt/transactiondescdialog.cpp \ | ||
src/qt/bitcoinstrings.cpp \ | ||
src/qt/bitcoinamountfield.cpp \ | ||
src/wallet.cpp \ | ||
src/keystore.cpp \ | ||
src/qt/transactionfilterproxy.cpp \ | ||
src/qt/transactionview.cpp \ | ||
src/qt/walletmodel.cpp \ | ||
src/bitcoinrpc.cpp \ | ||
src/qt/overviewpage.cpp \ | ||
src/qt/csvmodelwriter.cpp \ | ||
src/crypter.cpp \ | ||
src/qt/sendcoinsentry.cpp \ | ||
src/qt/qvalidatedlineedit.cpp \ | ||
src/qt/bitcoinunits.cpp \ | ||
src/qt/qvaluecombobox.cpp \ | ||
src/qt/askpassphrasedialog.cpp \ | ||
src/protocol.cpp \ | ||
src/qt/notificator.cpp | ||
|
||
RESOURCES += \ | ||
src/qt/bitcoin.qrc | ||
|
||
FORMS += \ | ||
src/qt/forms/sendcoinsdialog.ui \ | ||
src/qt/forms/addressbookpage.ui \ | ||
src/qt/forms/aboutdialog.ui \ | ||
src/qt/forms/editaddressdialog.ui \ | ||
src/qt/forms/transactiondescdialog.ui \ | ||
src/qt/forms/overviewpage.ui \ | ||
src/qt/forms/sendcoinsentry.ui \ | ||
src/qt/forms/askpassphrasedialog.ui | ||
|
||
CODECFORTR = UTF-8 | ||
# for lrelease/lupdate | ||
TRANSLATIONS = src/qt/locale/bitcoin_nl.ts src/qt/locale/bitcoin_de.ts \ | ||
src/qt/locale/bitcoin_ru.ts | ||
|
||
OTHER_FILES += \ | ||
README.rst | ||
|
||
# For use with MacPorts | ||
macx:INCLUDEPATH += /opt/local/include /opt/local/include/db48 | ||
macx:LIBS += -L/opt/local/lib -L/opt/local/lib/db48 | ||
|
||
# Additional Mac options | ||
macx:ICON = src/qt/res/icons/bitcoin.icns | ||
macx:TARGET = "Bitcoin Qt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 | ||
# $Id$ | ||
|
||
PortSystem 1.0 | ||
|
||
name miniupnpc | ||
epoch 2 | ||
version 1.6 | ||
revision 2 | ||
categories net | ||
platforms darwin | ||
license BSD | ||
maintainers singingwolfboy openmaintainer | ||
description Lightweight client for UPnP protocol | ||
long_description \ | ||
${description} | ||
|
||
homepage http://miniupnp.free.fr/ | ||
master_sites http://miniupnp.free.fr/files/download.php?file=${distname}${extract.suffix}&dummy= | ||
checksums md5 88055f2d4a061cfd4cfe25a9eae22f67 \ | ||
sha1 ef8f2edb17f2e7c5b8dc67ee80a65c199d823e0a \ | ||
rmd160 d86b75b331a3fb5525c71708548f311977c0598f | ||
|
||
use_configure no | ||
|
||
variant universal {} | ||
if {[variant_isset universal]} { | ||
set archflags ${configure.universal_cflags} | ||
} else { | ||
set archflags ${configure.cc_archflags} | ||
} | ||
|
||
build.args-append CC="${configure.cc} ${archflags}" | ||
|
||
post-patch { | ||
reinplace "s|-Wl,-install_name,|-Wl,-install_name,${prefix}/lib/|" ${worksrcpath}/Makefile | ||
} | ||
|
||
destroot.destdir PREFIX=${prefix} INSTALLPREFIX=${destroot}${prefix} | ||
|
||
livecheck.type regex | ||
livecheck.url http://miniupnp.free.fr/files/ | ||
livecheck.regex ${name}-(\\d+(\\.\\d{1,4})+)${extract.suffix} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
Icon: src/qt/res/icons/clock*.png, src/qt/res/icons/tx*.png, | ||
src/qt/res/src/*.svg | ||
Designer: Wladimir van der Laan | ||
License: Creative Commons Attribution | ||
|
||
Icon: src/qt/res/icons/send.png | ||
Icon Pack: Vista Style Arrow | ||
Designer: Icons Land | ||
License: Freeware Non-commercial | ||
Site: http://findicons.com/icon/231371/right3green | ||
|
||
Icon: src/qt/res/icons/address-book.png | ||
Icon Pack: Farm-Fresh Web | ||
Designer: FatCow Web Hosting | ||
License: Creative Commons Attribution (by) | ||
Site: http://findicons.com/icon/163938/book_open | ||
|
||
Icon: src/qt/res/icons/connect*.png, src/qt/res/icons/synced.png, src/qt/res/icons/lock_*.png | ||
Icon Pack: Human-O2 | ||
Designer: schollidesign | ||
License: GNU/GPL | ||
Site: http://findicons.com/icon/93743/blocks_gnome_netstatus_0 | ||
|
||
Icon: src/qt/res/icons/transaction*.png | ||
Designer: md2k7 | ||
Site: https://forum.bitcoin.org/index.php?topic=15276.0 | ||
License: You are free to do with these icons as you wish, including selling, | ||
copying, modifying etc. | ||
|
||
Icon: src/qt/res/icons/configure.png, src/qt/res/icons/quit.png, | ||
src/qt/res/icons/editcopy.png, src/qt/res/icons/editpaste.png, | ||
src/qt/res/icons/add.png, src/qt/res/icons/edit.png, | ||
src/qt/res/icons/remove.png (edited) | ||
Designer: http://www.everaldo.com | ||
Icon Pack: Crystal SVG | ||
License: LGPL | ||
|
||
Icon: src/qt/res/icons/receive.png, src/qt/res/icons/history.png, | ||
src/qt/res/icons/export.png | ||
Designer: Oxygen team | ||
Icon Pack: Oxygen | ||
License: Creative Common Attribution-ShareAlike 3.0 License or LGPL | ||
Site: http://www.oxygen-icons.org/ | ||
|
||
Icon: src/qt/res/icons/bitcoin.png, src/qt/res/icons/toolbar.png | ||
Designer: Bitboy (optimized for 16x16 by Wladimir van der Laan) | ||
License: Public Domain | ||
Site: http://forum.bitcoin.org/?topic=1756.0 | ||
|
||
Icon: src/qt/res/icons/overview.png | ||
Icon Pack: Primo | ||
Designer: Jack Cai | ||
License: Creative Commons Attribution No Derivatives (by-nd) | ||
Site: http://findicons.com/icon/175944/home?id=176221# | ||
|
||
Icon: scripts/img/reload.xcf (modified),src/qt/res/movies/update_spinner.mng | ||
Icon Pack: Kids | ||
Designer: Everaldo (Everaldo Coelho) | ||
License: GNU/GPL | ||
Site: http://findicons.com/icon/17102/reload?id=17102 | ||
|
||
Image: src/qt/res/images/splash2.jpg (Wallet image) | ||
Designer: Crobbo (forum) | ||
Site: https://bitcointalk.org/index.php?topic=32273.0 | ||
License: Public domain | ||
|
||
Icon: src/qt/res/icons/key.png | ||
Designer: VisualPharm (Ivan Boyko) | ||
Icon Pack: Must Have | ||
Site: http://findicons.com/icon/51009/key?id=51009 | ||
License: Creative Commons Attribution (by) | ||
|
||
|
Oops, something went wrong.