aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-01-21 09:05:39 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-01-21 14:46:50 +0100
commit54d2b91cab0c40579bfaabb4ff66348642dbc88b (patch)
tree2f3fefc3f1b3c886b2cc6b64a9390b965bb3e79a /doc
parent77a1607ce859da8a425b5c27c2b75d45ac795ebb (diff)
doc: Build with qt5 is possible again
This reverts commit 62568f9a1e98065bd51069649f23a337eab89f94. Also add some documentation for `--with-gui`.
Diffstat (limited to 'doc')
-rw-r--r--doc/build-unix.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/build-unix.md b/doc/build-unix.md
index 5124205a34..d3a0536b10 100644
--- a/doc/build-unix.md
+++ b/doc/build-unix.md
@@ -87,12 +87,18 @@ Dependencies for the GUI: Ubuntu & Debian
-----------------------------------------
If you want to build Bitcoin-Qt, make sure that the required packages for Qt development
-are installed. Qt 4 is currently necessary to build the GUI.
+are installed. Either Qt 4 or Qt 5 are necessary to build the GUI.
+If both Qt 4 and Qt 5 are installed, Qt 4 will be used. Pass `--with-gui=qt5` to configure to choose Qt5.
+To build without GUI pass `--without-gui`.
To build with Qt 4 you need the following:
apt-get install libqt4-dev libprotobuf-dev protobuf-compiler
+For Qt 5 you need the following:
+
+ apt-get install libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev-tools libprotobuf-dev
+
libqrencode (optional) can be installed with:
apt-get install libqrencode-dev