aboutsummaryrefslogtreecommitdiff
path: root/build_msvc
diff options
context:
space:
mode:
authorAaron Clauson <aaron@sipsorcery.com>2023-12-10 15:46:36 +0000
committerAaron Clauson <aaron@sipsorcery.com>2023-12-10 15:46:36 +0000
commitd08e820abf5da2be09b8a84b5bd3450d1a55a039 (patch)
tree58a3d5851472e30d7187e71a885cc44c20dddcee /build_msvc
parent3e691258d8789a4a89cce42e7e71b130491594d7 (diff)
downloadbitcoin-d08e820abf5da2be09b8a84b5bd3450d1a55a039.tar.xz
Add a note to msvc readme re building Qt for Bitcoin Core.
Diffstat (limited to 'build_msvc')
-rw-r--r--build_msvc/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_msvc/README.md b/build_msvc/README.md
index cc2cd91e13..f97c7ca59c 100644
--- a/build_msvc/README.md
+++ b/build_msvc/README.md
@@ -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`.
+> 💡 **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:
```cmd
cd C:\dev\qt-source