-
Notifications
You must be signed in to change notification settings - Fork 644
[Qt5Base] Build x86_64-apple-darwin library with 10.13 SDK #5598
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
|
It fails with This is because there is a dynamic SDK check in the cocoa code, which doesn't work when cross-compiling unless you compile with the newest SDK it wants. So Qt compiled on Mac works with 10.13, cross compiled it needs 10.14 so the SDK check passes statically (as far as I understand). |
|
Uhm,if |
|
That doesn't work either, still choking on |
Q/Qt5Base/build_tarballs.jl
Outdated
|
|
||
| # Dependencies that must be installed before this package can be built | ||
| dependencies = [ | ||
| BuildDependency("Xorg_libX11_jll"), |
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.
Reminder to self to filter the dependencies by platform
06137bc to
c1f11ee
Compare
|
@barche do you happen to know what's the spell to pass linker flags? |
|
The current iteration adds to the configure arguments. I think this goes through, but now the M1 build fails with: We'd have to check the config.log to find out why, I'll need to do a local build for that I think. |
Doesn't surprise me since libclang_rt.osx isn't available there. I tried to add those flags only for x86_64 |
barche
left a comment
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.
Looks OK!
|
Awesome, thank you! 🚀 |
According to https://doc.qt.io/qt-5/macos.html Qt5 should require 10.13, not 10.14, I don't know why this was built with 10.14, let's give it a try? CC @barche