> depends: -optimized-qmake is now -optimized-tools
https://github.com/bitcoin/bitcoin/pull/17730/commits/29d56c62b7f206d42f0908819ff2e1926737f988
> build: only pass -optimized-tools to qt in debug mode
>
> Qt's configure tells us that "-optimized-tools is not useful in -release
> mode.", so don't use it there.
https://github.com/bitcoin/bitcoin/pull/21376/commits/d769b3372d9833224a5151000ab99048474f8051
> build: Add xkbcommon 0.8.4
>
> Co-authored-by: fanquake <fanquake@gmail.com>
https://github.com/bitcoin/bitcoin/pull/21376/commits/3272e34f9c548f7e4570d786fd322947e3cf20c6
> build: qt 5.12.10
>
> remove fix_configure_mac.patch
> Fixed upstream: https://bugreports.qt.io/browse/QTBUG-67286
>
> remove fix_rcc_determinism.patch
> Fixed upstream in https://bugreports.qt.io/browse/QTBUG-62511
>
> remove freetype_back_compat.patch
> By the time we ship a release with Qt 5.12, we'll certainly no-longer be
> supporting Ubuntu 14.04 and Ubuntu 16.04 ships with FreeType 2.6.1,
> which is new enough that using the symbol is no-longer an issue.
> The renaming of FT_Get_X11_Font_Format() happened in FreeType 2.6
>
> remove xkb-default.patch
> This was removed upstream in d5abf545971da717014d316127045fc19edbcd65
>
> Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
https://github.com/bitcoin/bitcoin/pull/21376/commits/06cd0da21fc14360e10204affe240b72715a0267
Note: the backport of this commit bypasses some intermediate work on fix_qt_pkgconfig.patch (first commit in [[https://github.com/bitcoin/bitcoin/pull/18291 | core#18291]])
> build: revert to using Qts internal zlib
https://github.com/bitcoin/bitcoin/pull/21376/commits/e674e94302dec9933006dde1c18f01a1d4b77d8e
> build: Add QMacStyle support
https://github.com/bitcoin/bitcoin/pull/21376/commits/1be8e0f2388e243d310fe7eeb46149a690de4ddf
> build: disable qt SDK version checking
>
> This tries to invoke xcrun, which is not available when cross-compiling.
> Given we are in control of the SDK versions being used, removing this
> check has minimal-no effect.
https://github.com/bitcoin/bitcoin/pull/21376/commits/fa5e97e8c2cf93b7afc0d6b0c460700ec18d18f2
> build, qt: Fix lib paths in *.pc files
>
> See:
> - QTBUG-72903, commit 9864d2c6f3b628ca9f07a56b197e77bd43931cca
> - QTBUG-78873, commit e55a61a77f0c87c05661a0335dfdb12673c6a27f
>
> Could be dropped for Qt 5.14+.
https://github.com/bitcoin/bitcoin/pull/21376/commits/286d07ff1778971d7df456cc18a91db813c1a028
> build: update qt lrelease patch for 5.12.10
https://github.com/bitcoin/bitcoin/pull/21376/commits/cc6f47d51a0b3a1bb95a1f2a1b67a6d47cfcaa11
> build: update qt no-xlib patch for 5.12.10
https://github.com/bitcoin/bitcoin/pull/21376/commits/6093ae4d30bd3d888eccc4d6cb1c3c1efb7f13fd
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/21376 | core#21376]]
Openssl had to be bumped to 1.1 for Qt >= 5.12.4. The patch for TERMIOS added in D5651 is no longer necessary, the patches for deterministic builds are no longer needed as we can now leverage the env var `SOURCE_DATE_EPOCH`, many configure options have been dropped by OpenSSL.