-
Notifications
You must be signed in to change notification settings - Fork 38.7k
doc: Replace a link to Qt precompiled binaries with compile instructions #22890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
|
@hebasto concept ACK on the doc changes. Changing the Qt path to |
b44c3e3 to
ecb823e
Compare
|
Updated 7b8b6c8 -> ecb823e (pr22890.01 -> pr22890.02, diff):
Now a non-default path to static Qt could specified in the |
|
Updated ecb823e -> 42df8d5 (pr22890.02 -> pr22890.03, diff):
|
|
Updated 42df8d5 -> 8e9410f (pr22890.03 -> pr22890.04, diff):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some notes on wording, I will test for correctness of instructions later.
Prepares hazmat suit to enter the windows environment
|
Updated 8e9410f -> c948757 (pr22890.04 -> pr22890.05, diff):
|
|
Updated c948757 -> 0f56ce3 (pr22890.05 -> pr22890.06, diff): |
|
Rebased 0f56ce3 -> 391a377 (pr22890.06 -> pr22890.07) due to the conflict with #21551. |
…pre-built one 3a68546 ci: Build and cache static Qt instead of downloading a pre-built one (Hennadii Stepanov) Pull request description: This PR makes the MSVC build CI task free of [pre-built static Qt binaries](https://github.com/sipsorcery/qt_win_binary/releases). It uses the approach which is documented in #22890. It takes about 13 minutes to build a static Qt dependency (for 8 CPUs):  with the maximum total time:  There is an additional benefit of this PR. It is no longer required to build a new static Qt package when a CI Windows image upgrades its building tools, and breaks the compatibility with the recent Qt package. ACKs for top commit: sipsorcery: utACK 3a68546. Tree-SHA512: 2cf358ccecb26293b52c04158d6d3366ae6257cc3c04262e02234f7d7a03086885c67f0aad5702fcaa6f035fe4a09967a81245c561614875ecd2e90e2e00bbaa
…ding a pre-built one 3a68546 ci: Build and cache static Qt instead of downloading a pre-built one (Hennadii Stepanov) Pull request description: This PR makes the MSVC build CI task free of [pre-built static Qt binaries](https://github.com/sipsorcery/qt_win_binary/releases). It uses the approach which is documented in bitcoin#22890. It takes about 13 minutes to build a static Qt dependency (for 8 CPUs):  with the maximum total time:  There is an additional benefit of this PR. It is no longer required to build a new static Qt package when a CI Windows image upgrades its building tools, and breaks the compatibility with the recent Qt package. ACKs for top commit: sipsorcery: utACK 3a68546. Tree-SHA512: 2cf358ccecb26293b52c04158d6d3366ae6257cc3c04262e02234f7d7a03086885c67f0aad5702fcaa6f035fe4a09967a81245c561614875ecd2e90e2e00bbaa
This change allows users to not patch `common.qt.init.vcxproj` to fit their Qt and Visual Studio versions. Also it simplifies code base maintaining. To specify a non-default path, the QTBASEDIR environment variable can be used.
|
Rebased 391a377 -> 367203b (pr22890.07 -> pr22890.08) due to the conflict with #22899. |
Why is a static Qt package necessarily needed? I mean, on Linux it works fine to build it against a dynamic system Qt. |
A relevant discussion from #15529:@NicolasDorier #15529 (comment):
|
To further elaborate, to the best of my knowledge a static version of Qt is required for the Bitcoin Core version on Windows because we want the The
I was never able to build |
|
OK, thanks for explaining, I was under the impression it was something new introduced here, but if it's simply the way things have always been…"it's a lot of extra work" is enough reason to not do it imo. FWIW, on Linux it's the othe way around, dynamically building is "go with the flow" whereas static is what requires a lot of extra work. Concept ACK |
build_msvc/README.md
Outdated
| the default approach is to use the [vcpkg](https://docs.microsoft.com/en-us/cpp/vcpkg) package manager from Microsoft. | ||
|
|
||
| Options for installing the dependencies in a Visual Studio compatible manner are: | ||
| To install vcpkg: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't add instructions for installing a package manager here. It's got nothing todo with building Bitcoin Core, and is just another thing that can become outdated. Linking to upstream (https://github.com/Microsoft/vcpkg), where the instructions will always be correct, should be sufficient, and is what was being done previously.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Updated.
367203b to
f279706
Compare
f279706 to
6bc4398
Compare
|
Updated 367203b -> 6bc4398 (pr22890.08 -> pr22890.09, diff): |
|
Mind looking into this PR one more time? |
|
ACK 6bc4398. |
This PR replaces a link to Qt precompiled binaries with compile instructions that allow users to self-compile static Qt package which is required for building Bitcoin Core with Visual Studio.