-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
qt5 fails to build on macOS 10.11 & 12 #5391
Comments
As
|
@retokromer They can’t run |
As long as this is not Ruby related... |
@retokromer I'm running it again now after @bfontaine I forgot to mention in the OP, but I originally had this problem under 10.11 - it just continued to be an issue after the upgrade to 10.12 |
@retokromer This time the build finished in 12 minutes, with the same non-error (See the new |
Thank you, @MTCoster, for the feedback. It worked on my side, therefore... |
|
@jakepetroules Any idea what the release schedule is on 5.6.2 or 5.7.1? FWIW, as of yesterday none of the tips of the 5.6, 5.7 or dev branches worked for me on Sierra. The most recent 5.7 branch build still has Bluetooth issues: https://gist.github.com/DomT4/0a3d2e9af56b531f6afed1d9df4dd857 |
Not a solution, but if anyone lands here trying to install Qt5 on macOS Sierra and you just want to get the job done, here's how to do it using the official binaries: https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit#macos-sierra-1012 |
@MTCoster try this maybe #4841 (comment) |
@UdjinM6 dear Udjin how can I apply your suggestion in your comment to install |
@mantrasuser apply patch to qt5, install it, install gnuplot. Worked for me:
|
@UdjinM6 it works like a charm. thank you a lot |
it just failed with bluetooth header, in this file if QT_OSX_BLUETOOTH is defined then it includes CoreBluetooth/CoreBluetooth.h, if not then it includes IOBluetooth/IOBluetooth.h the real problem this here, under macOS Sierra, the IOBluetooth header don't have the CBUUID, CBService class. so the simple solution is add
after
then the qtconnectivity compiles fine. this works for qt 5.7, and I think it should also works for qt 5.6 under Sierra |
@steve3d Cool, but I cannot find corebluetoothwrapper_p.h to patch it. Neither in |
here is a simple patch for qt-5.6/5.7 under macOS 10.11/12
@sja , those files will be deleted after brew exit, so you won't find any files to patch, the file is indeed under |
and I've found a few more problem related to qt5
|
If you'd like Homebrew to support Qt5:
|
Please follow the general troubleshooting steps first:
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
?After running for approximately 2.5 hours, the build fails with no clear error; just a dump from make. Here is the output of
brew gist-logs qt5
.Please do not hesitate to ask for any further details.
The text was updated successfully, but these errors were encountered: