Merge bitcoin/bitcoin#30738: doc: fixup macOS build docs for CMake

3c53e59dcf doc: fixup macOS build docs for CMake (fanquake)

Pull request description:

  Some minor corrections.

ACKs for top commit:
  maflcko:
    lgtm ACK 3c53e59dcf
  TheCharlatan:
    ACK 3c53e59dcf
  hebasto:
    ACK 3c53e59dcf.

Tree-SHA512: 431b4c88535fa3aaf2c7b452982f1ce47d82b84b667cbc2d926a2675c86e4b7e8ca9c9daecfa788668fc98c27db3c130531de62ac68edd94eab3ba2252cf4689
This commit is contained in:
glozow 2024-08-28 15:21:04 +01:00
commit f175a737c9
No known key found for this signature in database
GPG key ID: BA03F4DBE0C63FB4

View file

@ -1,6 +1,6 @@
# macOS Build Guide # macOS Build Guide
**Updated for MacOS [14.4](https://www.apple.com/macos/sonoma/)** **Updated for MacOS [14](https://www.apple.com/macos/sonoma/)**
This guide describes how to build bitcoind, command-line utilities, and GUI on macOS This guide describes how to build bitcoind, command-line utilities, and GUI on macOS
@ -103,7 +103,7 @@ brew install berkeley-db@4
###### Qt ###### Qt
Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install 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, the libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI. Qt, libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.
``` bash ``` bash
brew install qt@5 brew install qt@5
@ -120,7 +120,7 @@ The GUI will be able to encode addresses in QR codes unless this feature is expl
brew install qrencode 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. Otherwise, if you don't need QR encoding support, you can pass `-DWITH_QRENCODE=OFF` to disable this feature.
--- ---
@ -144,7 +144,6 @@ Skip if you do not need this functionality.
brew install libnatpmp brew install libnatpmp
``` ```
Note: UPnP and NAT-PMP support will be compiled in and disabled by default.
Check out the [further configuration](#further-configuration) section for more information. Check out the [further configuration](#further-configuration) section for more information.
--- ---
@ -158,7 +157,6 @@ Skip if you do not need ZMQ functionality.
brew install zeromq brew install zeromq
``` ```
ZMQ is automatically compiled in and enabled if the dependency is detected.
Check out the [further configuration](#further-configuration) section for more information. Check out the [further configuration](#further-configuration) section for more information.
For more information on ZMQ, see: [zmq.md](zmq.md) For more information on ZMQ, see: [zmq.md](zmq.md)
@ -239,8 +237,8 @@ cmake --build build --target deploy
## Running Bitcoin Core ## Running Bitcoin Core
Bitcoin Core should now be available at `./src/bitcoind`. Bitcoin Core should now be available at `./build/src/bitcoind`.
If you compiled support for the GUI, it should be available at `./src/qt/bitcoin-qt`. If you compiled support for the GUI, it should be available at `./build/src/qt/bitcoin-qt`.
The first time you run `bitcoind` or `bitcoin-qt`, it will start downloading the blockchain. The first time you run `bitcoind` or `bitcoin-qt`, it will start downloading the blockchain.
This process could take many hours, or even days on slower than average systems. This process could take many hours, or even days on slower than average systems.