-
Notifications
You must be signed in to change notification settings - Fork 37.4k
depends: Fix Qt build with XCode 9.3 #12946
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
Concept ACK |
I was initially confused by the PR description into thinking bitcoin-qt didn't build, but you're referring to QT itself via the depends system. I didn't try before updating the command line tools in Xcode 9.3, but indeed building QT on macOS 10.13.4 is broken for me:
This PR fixes it for me. |
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.
utACK 5b4fc3e
5b4fc3e depends: Fix Qt build with XCode 9.3 (fanquake) Pull request description: Building Qt with Xcode 9.3 is currently broken with: ``` compiling kernel/qmacgesturerecognizer.cpp fontdatabases/mac/qfontengine_coretext.mm:775:20: error: qualified reference to 'QFixed' is a constructor name rather than a type in this context return QFixed::QFixed(int(CTFontGetUnitsPerEm(ctfont))); ^ compiling .moc/moc_qfbscreen_p.cpp 1 error generated. make[2]: *** [.obj/qfontengine_coretext.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ``` This patch should fix that, and will hopefully be the last time we have to patch Qt 5.7. I've only made minor adjustments from the [original patch](https://codereview.qt-project.org/#/c/224900/), so that it will apply, although still not completely cleanly. We can cleanup if required. Tree-SHA512: ad9e682081b9d2b0ccd4ea8e167ba15f1a903e39185a0cbfaa6608f1a45fcfb019e8726148fb301d65ddadaa23122825ccd6fdfc8de78767b653d5d1e47205da
GitHub-Pull: bitcoin#12946 Rebased-From: 5b4fc3e
GitHub-Pull: bitcoin#12946 Rebased-From: 5b4fc3e
93b9a61 depends: Fix Qt build with XCode 9.3 (fanquake) 9bb1a16 [Depends] Fix Qt build with Xcode 9.2 (fanquake) Pull request description: Backports #11995 and #12946 so that qt (and all depends) can still be built on the 0.15 branch. Tree-SHA512: 671cce790b5f72c8edd04461d0bc3d300557c4df8c4e5d338561a972333edb34e2009f221d581fe3b2e61080cce0891588831c00c16d4ab852730f65856a3054
8fca086 List support for BIP173 in bips.md (Pieter Wuille) 9645aa6 Remove blockmaxsize option from init.cpp (fanquake) 7847b92 Default to defining endian-conversion DECLs in compat w/o config (Matt Corallo) 1720eb3 qt:Show the entire Window when double clicking on taskbar (Chun Kuan Lee) e055bc0 depends: Fix Qt build with XCode 9.3 (fanquake) 0684cf9 Avoid launching as admin when NSIS installer ends. (JeremyRand) e802c22 [config] Remove blockmaxsize option (John Newbery) f118a7a Fix illegal default `addProxy` and `addrSeparateProxyTor` settings. (251) f60e84d Limit the number of IPs we use from each DNS seeder (e0) Pull request description: Backports: - #12626 Limit the number of IPs addrman learns from each DNS seeder - #12650 gui: Fix issue: "default port not shown correctly in settings dialog" - #12756 [config] Remove blockmaxsize option - #12985 Windows: Avoid launching as admin when NSIS installer ends. - #12946 depends: Fix Qt build with XCode 9.3 - #12998 Default to defining endian-conversion DECLs in compat w/o config - #12999 qt: Show the Window when double clicking the taskbar icon - #13064 List support for BIP173 in bips.md to the 0.16 branch. Tree-SHA512: 3e6b47c54b2cd2bdd81fbc6176cb31e46423f6e05988984d3a09b3535e3cee101ffb071cf753a4beff3c9f0521eb5de4b7c0424a3e97da801d56b4015847ac0f
GitHub-Pull: bitcoin#12946 Rebased-From: 5b4fc3e
GitHub-Pull: bitcoin#12946 Rebased-From: 5b4fc3e
93b9a61 depends: Fix Qt build with XCode 9.3 (fanquake) 9bb1a16 [Depends] Fix Qt build with Xcode 9.2 (fanquake) Pull request description: Backports bitcoin#11995 and bitcoin#12946 so that qt (and all depends) can still be built on the 0.15 branch. Tree-SHA512: 671cce790b5f72c8edd04461d0bc3d300557c4df8c4e5d338561a972333edb34e2009f221d581fe3b2e61080cce0891588831c00c16d4ab852730f65856a3054
GitHub-Pull: bitcoin#12946 Rebased-From: 5b4fc3e
93b9a61 depends: Fix Qt build with XCode 9.3 (fanquake) 9bb1a16 [Depends] Fix Qt build with Xcode 9.2 (fanquake) Pull request description: Backports bitcoin#11995 and bitcoin#12946 so that qt (and all depends) can still be built on the 0.15 branch. Tree-SHA512: 671cce790b5f72c8edd04461d0bc3d300557c4df8c4e5d338561a972333edb34e2009f221d581fe3b2e61080cce0891588831c00c16d4ab852730f65856a3054
* [Depends] Fix Qt build with Xcode 9.2 GitHub-Pull: bitcoin#11995 Rebased-From: 2b1f794 * depends: Fix Qt build with XCode 9.3 GitHub-Pull: bitcoin#12946 Rebased-From: 5b4fc3e * add newline
* [Depends] Fix Qt build with Xcode 9.2 GitHub-Pull: bitcoin#11995 Rebased-From: 2b1f794 * depends: Fix Qt build with XCode 9.3 GitHub-Pull: bitcoin#12946 Rebased-From: 5b4fc3e * add newline
Building Qt with Xcode 9.3 is currently broken with:
This patch should fix that, and will hopefully be the last time we have to patch Qt 5.7.
I've only made minor adjustments from the original patch, so that it will apply, although still not completely cleanly. We can cleanup if required.