Skip to content

Commit

Permalink
fixup! doc: Update for CMake-based build system
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Aug 3, 2024
1 parent f63b200 commit da05cc5
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 26 deletions.
10 changes: 8 additions & 2 deletions doc/build-freebsd.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,23 @@ sh/bash: export BDB_PREFIX=[path displayed above]
#### GUI Dependencies
###### Qt5

Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install the necessary parts of Qt. Skip if you don't intend to use the GUI.
Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install
the necessary parts of Qt and libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.

```bash
pkg install qt5-buildtools qt5-core qt5-gui qt5-linguisttools qt5-testlib qt5-widgets
```

###### libqrencode

The GUI can encode addresses in a QR Code. To build in QR support for the GUI, install `libqrencode`. Skip if not using the GUI or don't want QR code functionality.
The GUI will be able to encode addresses in QR codes unless this feature is explicitly disabled. To install libqrencode, run:

```bash
pkg install libqrencode
```

Otherwise, If you don't need QR encoding support, use the `-DWITH_QRENCODE=OFF` option to disable this feature in order to compile the GUI.

---

#### Notifications
Expand Down
11 changes: 9 additions & 2 deletions doc/build-netbsd.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,26 @@ pkgin install db4
```

#### GUI Dependencies
###### Qt5

Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, Qt 5 is required.
Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install
the necessary parts of Qt and libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.

```bash
pkgin install qt5-qtbase qt5-qttools
```

The GUI can encode addresses in a QR Code. To build in QR support for the GUI, install `qrencode`.
###### libqrencode

The GUI will be able to encode addresses in QR codes unless this feature is explicitly disabled. To install libqrencode, run:

```bash
pkgin install qrencode
```

Otherwise, If you don't need QR encoding support, use the `-DWITH_QRENCODE=OFF` option to disable this feature in order to compile the GUI.


#### Test Suite Dependencies

There is an included test suite that is useful for testing code changes when developing.
Expand Down
9 changes: 7 additions & 2 deletions doc/build-openbsd.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,23 @@ export BDB_PREFIX="[path displayed above]"
#### GUI Dependencies
###### Qt5

Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, Qt 5 is required.
Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install
the necessary parts of Qt and libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.

```bash
pkg_add qtbase qttools
```

###### libqrencode

The GUI can encode addresses in a QR Code. To build in QR support for the GUI, install `libqrencode`. Skip if not using the GUI or don't want QR code functionality.
The GUI will be able to encode addresses in QR codes unless this feature is explicitly disabled. To install libqrencode, run:

```bash
pkg_add libqrencode
```

Otherwise, If you don't need QR encoding support, use the `-DWITH_QRENCODE=OFF` option to disable this feature in order to compile the GUI.

---

#### Notifications
Expand Down
13 changes: 7 additions & 6 deletions doc/build-osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ brew install berkeley-db@4

###### Qt

Bitcoin Core includes a GUI built with the cross-platform Qt Framework.
To compile the GUI, we need to install `qt@5`.
Skip if you don't intend to use the GUI.
Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install
the necessary parts of Qt and libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.

``` bash
brew install qt@5
Expand All @@ -113,14 +112,16 @@ brew install qt@5
Note: Building with Qt binaries downloaded from the Qt website is not officially supported.
See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714).

###### qrencode
###### libqrencode

The GUI can encode addresses in a QR Code. To build in QR support for the GUI, install `qrencode`.
Skip if not using the GUI or don't want QR code functionality.
The GUI will be able to encode addresses in QR codes unless this feature is explicitly disabled. To install libqrencode, run:

``` bash
brew install qrencode
```

Otherwise, If you don't need QR encoding support, use the `-DWITH_QRENCODE=OFF` option to disable this feature in order to compile the GUI.

---

#### Port Mapping Dependencies
Expand Down
23 changes: 9 additions & 14 deletions doc/build-unix.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,21 @@ User-Space, Statically Defined Tracing (USDT) dependencies:

GUI dependencies:

If you want to build bitcoin-qt, make sure that the required packages for Qt development
are installed. Qt 5 is necessary to build the GUI.
To build with GUI pass `-DBUILD_GUI=ON`.

To build with Qt 5 you need the following:
Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install
the necessary parts of Qt and libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.

sudo apt-get install qtbase5-dev qttools5-dev qttools5-dev-tools

Additionally, to support Wayland protocol for modern desktop environments:

sudo apt install qtwayland5

libqrencode (optional) can be installed with:
The GUI will be able to encode addresses in QR codes unless this feature is explicitly disabled. To install libqrencode, run:

sudo apt-get install libqrencode-dev

Otherwise, If you don't need QR encoding support, use the `-DWITH_QRENCODE=OFF` option to disable this feature in order to compile the GUI.


### Fedora

Expand Down Expand Up @@ -128,24 +127,20 @@ User-Space, Statically Defined Tracing (USDT) dependencies:

GUI dependencies:

If you want to build bitcoin-qt, make sure that the required packages for Qt development
are installed. Qt 5 is necessary to build the GUI.
To build with GUI pass `-DBUILD_GUI=ON`.

To build with Qt 5 you need the following:
Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install
the necessary parts of Qt and libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.

sudo dnf install qt5-qttools-devel qt5-qtbase-devel

Additionally, to support Wayland protocol for modern desktop environments:

sudo dnf install qt5-qtwayland

libqrencode (optional) can be installed with:
The GUI will be able to encode addresses in QR codes unless this feature is explicitly disabled. To install libqrencode, run:

sudo dnf install qrencode-devel

Once these are installed, they will be found by configure and a bitcoin-qt executable will be
built by default.
Otherwise, If you don't need QR encoding support, use the `-DWITH_QRENCODE=OFF` option to disable this feature in order to compile the GUI.

## Dependencies

Expand Down

0 comments on commit da05cc5

Please sign in to comment.