Skip to content

Commit 84bbee7

Browse files
committed
Merge bitcoin#29048: Add a note to msvc readme re building Qt for Bitcoin Core.
d08e820 Add a note to msvc readme re building Qt for Bitcoin Core. (Aaron Clauson) Pull request description: Updated the msvc readme with a note about avoiding path too long errors when building Qt with Bitcoin Core. Would have saved me half an hour if I'd remembered this from the last time I did the build. ACKs for top commit: hebasto: ACK d08e820. TheCharlatan: ACK d08e820 Tree-SHA512: f51017b15383dbcd39ad1e5e978bb255b9205dc23d72b5e3530c6aefcbbc2dc4ec3a85e5fc8c0019c8511173c298f80b837cb35f268deac424d19365b25fb335
2 parents 3e69125 + d08e820 commit 84bbee7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_msvc/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ To build Bitcoin Core with the GUI, a static build of Qt is required.
3434

3535
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`.
3636

37+
> 💡 **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`.
38+
3739
2. Open "x64 Native Tools Command Prompt for VS 2022", and input the following commands:
3840
```cmd
3941
cd C:\dev\qt-source

0 commit comments

Comments
 (0)