Skip to content

Commit 54d2b91

Browse files
committed
doc: Build with qt5 is possible again
This reverts commit 62568f9. Also add some documentation for `--with-gui`.
1 parent 77a1607 commit 54d2b91

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/build-unix.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,18 @@ Dependencies for the GUI: Ubuntu & Debian
8787
-----------------------------------------
8888

8989
If you want to build Bitcoin-Qt, make sure that the required packages for Qt development
90-
are installed. Qt 4 is currently necessary to build the GUI.
90+
are installed. Either Qt 4 or Qt 5 are necessary to build the GUI.
91+
If both Qt 4 and Qt 5 are installed, Qt 4 will be used. Pass `--with-gui=qt5` to configure to choose Qt5.
92+
To build without GUI pass `--without-gui`.
9193

9294
To build with Qt 4 you need the following:
9395

9496
apt-get install libqt4-dev libprotobuf-dev protobuf-compiler
9597

98+
For Qt 5 you need the following:
99+
100+
apt-get install libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev-tools libprotobuf-dev
101+
96102
libqrencode (optional) can be installed with:
97103

98104
apt-get install libqrencode-dev

0 commit comments

Comments
 (0)