Update msvc and appveyor builds to use Qt5.12.11 binaries #22224

pull sipsorcery wants to merge 1 commits into bitcoin:master from sipsorcery:msvc_qt5.12.11 changing 2 files +5 −5
  1. sipsorcery commented at 4:30 PM on June 11, 2021: member

    Synchronises the Qt version used in the msvc and Appveyor builds with #22054.

    I needed to use switch to the Visual Studio 2019 Preview Appveyor image because the compiler version on the non-preview image is too far behind and I had difficulty building a compatible Qt version for it. Once the main Appveyor Visual Studio 2019 image reaches version 16.10.1 it can be used.

  2. Update msvc and appveyor builds to use Qt5.12.11 binaries. e25ea54dbf
  3. hebasto commented at 4:32 PM on June 11, 2021: member

    Concept ACK. @sipsorcery Many thanks!

  4. hebasto commented at 4:40 PM on June 11, 2021: member

    @sipsorcery

    I needed to use switch to the Visual Studio 2019 Preview Appveyor image because the compiler version on the non-preview image is too far behind and I had difficulty building a compatible Qt version for it.

    Did I understand correctly that there are no difficulties with Qt 5.12.10?

  5. sipsorcery commented at 4:49 PM on June 11, 2021: member

    Did I understand correctly that there are no difficulties with Qt 5.12.10?

    The difficulty is not Qt it's the difference between the msbuild version on the machine I use to build the Qt binaries and the msbuild version in the Appveyor image. The Appveyor Visual Studio 2019 image is on version 16.9.5 and my machine is on 16.10.1.

    I did install a separate msbuild 16.9.5 toolchain on my machine and while it built Qt 5.12.11 successfully the Appveyor image got a link error when it attempted to use it. I'm guessing the two msbuild installs aren't fully isolated somehow. From past experience these linker issues can take a while to solve and it seems more efficient to simply switch to the Appveyor Preview image.

    For any devs wanting to use the Qt binaries to build locally it means they will need to update to the latest stable version of msbuild 16.10.1.

    If there are any concerns I can dig deeper into the 16.9.5 version link issue.

  6. DrahtBot added the label Tests on Jun 11, 2021
  7. hebasto commented at 6:58 PM on June 11, 2021: member

    With a patch:

    --- a/.appveyor.yml
    +++ b/.appveyor.yml
    @@ -47,7 +47,7 @@ before_build:
     build_script:
     - cmd: msbuild /p:TrackFileAccess=false build_msvc\bitcoin.sln /m /v:q /nologo
     after_build:
    -#- 7z a bitcoin-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\build_msvc\%platform%\%configuration%\*.exe
    +- 7z a bitcoin-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\build_msvc\%platform%\%configuration%\*.exe
     test_script:
     - cmd: src\test_bitcoin.exe -l test_suite
     - cmd: src\bench_bitcoin.exe > NUL
    @@ -59,5 +59,5 @@ test_script:
     # [#18623](/bitcoin-bitcoin/18623/)
     # - cmd: python test\functional\test_runner.py --ci --quiet --combinedlogslen=4000 --failfast --exclude feature_fee_estimation
     artifacts:
    -#- path: bitcoin-%APPVEYOR_BUILD_VERSION%.zip
    +- path: bitcoin-%APPVEYOR_BUILD_VERSION%.zip
     deploy: off
    

    I got an artifact.

    Running bitcoin-qt.exe from the downloaded archive, I got a terminal window open along with the GUI.

    I don't think such behavior is expected.

  8. sipsorcery commented at 10:27 PM on June 11, 2021: member

    Running bitcoin-qt.exe from the downloaded archive, I got a terminal window open along with the GUI. I don't think such behavior is expected.

    I haven't noticed that as I always test my builds by running the GUI from the command line, e.g. bitcoin-qt -regtest.

    I'm not sure why it occurs. I know next to nothing about Qt except how to build it. I vaguely recall something like this cropping up years ago but I can't even remember what the context was. Apologies for bringing you in @fanquake but perhaps you recall? I seem to hazily remember you being somehow involved. I could be completely wrong about that.

    Either way this PR does not introduce that behaviour. Builds from master do the same thing.

  9. hebasto approved
  10. hebasto commented at 10:43 AM on June 12, 2021: member

    ACK e25ea54dbfaf1c8ddc762a9a81bd5b761a3b8c73

  11. fanquake merged this on Jun 14, 2021
  12. fanquake closed this on Jun 14, 2021

  13. sidhujag referenced this in commit e69058506a on Jun 14, 2021
  14. sipsorcery referenced this in commit aab7fd0f8d on Jun 14, 2021
  15. fanquake referenced this in commit eb63b1db2c on Jun 15, 2021
  16. sidhujag referenced this in commit a66cebb145 on Jun 16, 2021
  17. rebroad referenced this in commit 99905a2895 on Jun 23, 2021
  18. rebroad referenced this in commit 3d3feb2ece on Jun 28, 2021
  19. josibake referenced this in commit 4a3a4d798a on Jul 21, 2021
  20. fanquake locked this on Aug 20, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 09:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me