depends: Qt 5.12.11
Summary:
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-67286remove fix_rcc_determinism.patch
Fixed upstream in https://bugreports.qt.io/browse/QTBUG-62511remove 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.6remove xkb-default.patch
This was removed upstream in d5abf545971da717014d316127045fc19edbcd65Co-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 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
Qt 5.12.11:
- fixes macOS related QTBUG-87014, and the fix_bigsur_drawing.patch (which is our workaround for QTBUG-87014) could be dropped
- upgrades supported macOS SDK to 11.0, and removes related warnings
- fxes tab widget rendering on macOS Big Sur
build, qt: No longer need to set QT_RCC_TEST=1 for determinism
Since Qt 5.3.1 hash seeding is disabled for rcc.
See commit 5283a6c87beac5a43f612786fefd6e43f2c70bf6.
Notes:
- 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 needs a minor change because now DATE needs to be defined, many configure options have been dropped by OpenSSL.
- Some of this OpenSSL bumping work is from https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/merge_requests/1523:
- https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/merge_requests/1523/diffs?commit_id=8ce8afa0e0e0cb00a99ade458f25e815b3281896
- https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/merge_requests/1523/diffs?commit_id=b8150e8a3da3e37c4bfbd3a744a6d7b683014386
- https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/merge_requests/1523/diffs?commit_id=f2df0bd0183ba91274ededc4282ba5f229c226f1
- Additional patches are necessary for missing numeric includes for this version of Qt (follow-up to D13722)
This is a backport of core#21376, core#22054 and core#21655
Test Plan: gitian builds
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D13681