mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-04 07:07:45 +01:00
Add a note to msvc readme re building Qt for Bitcoin Core.
This commit is contained in:
parent
3e691258d8
commit
d08e820abf
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ To build Bitcoin Core with the GUI, a static build of Qt is required.
|
||||||
|
|
||||||
1. Download a single ZIP archive of Qt source code from https://download.qt.io/official_releases/qt/ (e.g., [`qt-everywhere-opensource-src-5.15.11.zip`](https://download.qt.io/official_releases/qt/5.15/5.15.11/single/qt-everywhere-opensource-src-5.15.11.zip)), and expand it into a dedicated folder. The following instructions assume that this folder is `C:\dev\qt-source`.
|
1. Download a single ZIP archive of Qt source code from https://download.qt.io/official_releases/qt/ (e.g., [`qt-everywhere-opensource-src-5.15.11.zip`](https://download.qt.io/official_releases/qt/5.15/5.15.11/single/qt-everywhere-opensource-src-5.15.11.zip)), and expand it into a dedicated folder. The following instructions assume that this folder is `C:\dev\qt-source`.
|
||||||
|
|
||||||
|
> 💡 **Tip:** If you use the default path with "Extract All" for the Qt source code zip file, and end up with something like `C:\dev\qt-everywhere-opensource-src-5.15.11\qt-everywhere-src-5.15.11`, you are likely to encounter a "path too long" error when building. To fix the problem move the source files to a shorter path such as the recommended `C:\dev\qt-source`.
|
||||||
|
|
||||||
2. Open "x64 Native Tools Command Prompt for VS 2022", and input the following commands:
|
2. Open "x64 Native Tools Command Prompt for VS 2022", and input the following commands:
|
||||||
```cmd
|
```cmd
|
||||||
cd C:\dev\qt-source
|
cd C:\dev\qt-source
|
||||||
|
|
Loading…
Add table
Reference in a new issue