lbrycrd/doc/readme-qt.rst

179 lines
6.4 KiB
ReStructuredText
Raw Normal View History

Bitcoin-qt: Qt4 GUI for Bitcoin
===============================
2011-05-15 20:11:58 +02:00
2011-09-02 18:42:59 +02:00
Features
========
2011-09-08 18:07:07 +02:00
- All functionality of the Wx GUI, including wallet encryption
2011-05-15 20:11:58 +02:00
2011-07-07 18:32:47 +02:00
- Compatibility with Linux (both GNOME and KDE), MacOSX and Windows
2011-05-15 20:11:58 +02:00
- Notification on incoming / outgoing transactions (compatible with FreeDesktop and other desktop notification schemes)
2011-08-02 22:03:41 +02:00
- General interface improvements: Splash screen, tabbed interface
2011-05-15 20:11:58 +02:00
2011-07-26 13:43:54 +02:00
- Overview page with current balance, unconfirmed balance, and such
2011-07-26 13:43:54 +02:00
- Better transaction list with status icons, real-time filtering and a context menu
2011-07-26 13:43:54 +02:00
- Asks for confirmation before sending coins, for your own safety
2011-05-15 20:11:58 +02:00
2011-07-26 13:43:54 +02:00
- CSV export of transactions and address book (for Excel bookkeeping)
2011-07-26 13:43:54 +02:00
- Shows alternative icon when connected to testnet, so you never accidentally send real coins during testing
2011-05-15 20:11:58 +02:00
2011-07-26 13:43:54 +02:00
- Shows a progress bar on initial block download, so that you don't have to wonder how many blocks it needs to download to be up to date
2011-06-05 11:45:42 +02:00
2011-07-26 13:43:54 +02:00
- Sendmany support, send to multiple recipients at the same time
2011-05-15 20:11:58 +02:00
2011-07-26 13:43:54 +02:00
- Multiple unit support, can show subdivided bitcoins (uBTC, mBTC) for users that like large numbers
2011-08-16 17:37:01 +02:00
- Support for English, German, Russian and Dutch languages
2011-07-16 19:45:37 +02:00
2011-08-02 22:03:41 +02:00
- Address books and transaction table can be sorted by any column
- Accepts "bitcoin:" URLs from browsers and other sources through drag and drop
2011-08-07 16:21:09 +02:00
Build instructions
2011-06-11 23:12:39 +02:00
===================
2011-07-04 07:45:28 +02:00
Debian
-------
2011-06-11 23:12:39 +02:00
First, make sure that the required packages for Qt4 development of your
distribution are installed, for Debian and Ubuntu these are:
::
apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
libssl-dev libdb4.8++-dev
2011-06-11 23:12:39 +02:00
then execute the following:
::
qmake
make
Alternatively, install Qt Creator and open the `bitcoin-qt.pro` file.
2011-06-11 23:12:39 +02:00
An executable named `bitcoin-qt` will be built.
2011-06-11 23:12:39 +02:00
2011-07-04 07:45:28 +02:00
Windows
--------
Windows build instructions:
- Download the `QT Windows SDK`_ and install it. You don't need the Symbian stuff, just the desktop Qt.
- Download and extract the `dependencies archive`_ [#]_, or compile openssl, boost and dbcxx yourself.
2011-07-15 15:06:28 +02:00
- Copy the contents of the folder "deps" to "X:\\QtSDK\\mingw", replace X:\\ with the location where you installed the Qt SDK. Make sure that the contents of "deps\\include" end up in the current "include" directory.
2011-07-04 07:45:28 +02:00
- Open the .pro file in QT creator and build as normal (ctrl-B)
.. _`QT Windows SDK`: http://qt.nokia.com/downloads/sdk-windows-cpp
2011-09-08 18:07:07 +02:00
.. _`dependencies archive`: https://download.visucore.com/bitcoin/qtgui_deps_1.zip
.. [#] PGP signature: https://download.visucore.com/bitcoin/qtgui_deps_1.zip.sig (signed with RSA key ID `610945D0`_)
2011-07-04 07:45:28 +02:00
.. _`610945D0`: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x610945D0
Mac OS X
--------
- Download and install the `Qt Mac OS X SDK`_. It is recommended to also install Apple's Xcode with UNIX tools.
- Download and install `MacPorts`_.
- Execute the following commands in a terminal to get the dependencies:
::
sudo port selfupdate
sudo port install boost db48
- Open the .pro file in Qt Creator and build as normal (cmd-B)
.. _`Qt Mac OS X SDK`: http://qt.nokia.com/downloads/sdk-mac-os-cpp
.. _`MacPorts`: http://www.macports.org/install.php
Build configuration options
============================
2011-09-02 18:42:59 +02:00
UPNnP port forwarding
---------------------
2011-09-02 18:42:59 +02:00
To use UPnP for port forwarding behind a NAT router (recommended, as more connections overall allow for a faster and more stable bitcoin experience), pass the following argument to qmake:
::
qmake "USE_UPNP=1"
(in **Qt Creator**, you can find the setting for additional qmake arguments under "Projects" -> "Build Settings" -> "Build Steps", then click "Details" next to **qmake**)
This requires miniupnpc for UPnP port mapping. It can be downloaded from
http://miniupnp.tuxfamily.org/files/. UPnP support is not compiled in by default.
2011-09-02 18:42:59 +02:00
Set USE_UPNP to a different value to control this:
2011-10-02 09:47:23 +02:00
+------------+--------------------------------------------------------------------------+
| USE_UPNP=- | no UPnP support, miniupnpc not required; |
+------------+--------------------------------------------------------------------------+
| USE_UPNP=0 | (the default) built with UPnP, support turned off by default at runtime; |
+------------+--------------------------------------------------------------------------+
| USE_UPNP=1 | build with UPnP support turned on by default at runtime. |
+------------+--------------------------------------------------------------------------+
2011-09-02 18:42:59 +02:00
Mac OS X users: miniupnpc is currently outdated on MacPorts. An updated Portfile is provided in contrib/miniupnpc within this project.
You can execute the following commands in a terminal to install it:
::
cd <location of bitcoin-qt>/contrib/miniupnpc
sudo port install
Notification support for recent (k)ubuntu versions
---------------------------------------------------
To see desktop notifications on (k)ubuntu versions starting from 10.04, enable usage of the
FreeDesktop notification interface through DBUS using the following qmake option:
::
qmake "USE_DBUS=1"
2011-06-14 08:13:29 +02:00
Berkely DB version warning
==========================
2011-07-07 21:19:25 +02:00
A warning for people using the *static binary* version of Bitcoin on a Linux/UNIX-ish system (tl;dr: **Berkely DB databases are not forward compatible**).
2011-06-14 08:13:29 +02:00
The static binary version of Bitcoin is linked against libdb4.8 (see also `this Debian issue`_).
2011-06-14 08:13:29 +02:00
Now the nasty thing is that databases from 5.X are not compatible with 4.X.
2011-06-14 08:13:29 +02:00
If the globally installed development package of Berkely DB installed on your system is 5.X, any source you
build yourself will be linked against that. The first time you run with a 5.X version the database will be upgraded,
2011-06-14 08:13:29 +02:00
and 4.X cannot open the new format. This means that you cannot go back to the old statically linked version without
significant hassle!
.. _`this Debian issue`: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621425
Ubuntu 11.10 warning
====================
Ubuntu 11.10 has a package called 'qt-at-spi' installed by default. At the time of writing, having that package
installed causes bitcoin-qt to crash intermittently. The issue has been reported as `launchpad bug 857790`_, but
isn't yet fixed.
Until the bug is fixed, you can remove the qt-at-spi package to work around the problem, though this will presumably
disable screen reader functionality for Qt apps:
::
sudo apt-get remove qt-at-spi
.. _`launchpad bug 857790`: https://bugs.launchpad.net/ubuntu/+source/qt-at-spi/+bug/857790