doc: Build with qt5 is possible again

This reverts commit 62568f9a1e.
Also add some documentation for `--with-gui`.
This commit is contained in:
Wladimir J. van der Laan 2014-01-21 09:05:39 +01:00
parent 77a1607ce8
commit 54d2b91cab

View File

@ -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 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: To build with Qt 4 you need the following:
apt-get install libqt4-dev libprotobuf-dev protobuf-compiler 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: libqrencode (optional) can be installed with:
apt-get install libqrencode-dev apt-get install libqrencode-dev