From 54d2b91cab0c40579bfaabb4ff66348642dbc88b Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Tue, 21 Jan 2014 09:05:39 +0100 Subject: doc: Build with qt5 is possible again This reverts commit 62568f9a1e98065bd51069649f23a337eab89f94. Also add some documentation for `--with-gui`. --- doc/build-unix.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3