cmake: Require Qt 6 to build GUI

This commit is contained in:
Hennadii Stepanov
2025-04-02 09:11:48 +01:00
parent 930b237f16
commit 6d4214925f
12 changed files with 79 additions and 53 deletions

View File

@@ -64,13 +64,13 @@ pkgin install db4
```
#### GUI Dependencies
###### Qt5
###### Qt6
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.
```bash
pkgin install qt5-qtbase qt5-qttools
pkgin install qt6-qtbase qt6-qttools
```
###### libqrencode