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
Remove QTKit support from wxMediaCtrl for OS X #337
Conversation
QTKit has been removed from OS X 10.12 SDK. QTKit has been superseded by AVFoundation since OS X 10.7. Since wxWidgets >= 3.1 requires 10.7 anyway there is no reason to support the old API. Additionally the AVFoundation implementation may use AVKit (available since 10.9). It will be used when available and the deployment target is met.
Thanks! |
Does this mean that trunk now only supports OS X 10.9 and newer and that support for < 10.9 will be/has been dropped? |
No 10.7 is still the supported. Only if you build with a deployment target >= 10.9 AVKit will additionally be used. |
OK, but I'm confused about one thing then. In b98cbab hundreds of lines were removed that were there to support QTKit. Does AVFOUNDATION without AVKit provide all the functionality that was there in QTKit then? |
I would like to backport some of your patches to version 3.0 (which is supposed to work on 10.5+). I guess I can cherry-pick some of your commits and apply them on top of the 3.0 branch. But given that you've been working on this code for the past few days, perhaps you would be willing to look into backporting your patches to the 3.0 branch (without removal of QTKit)? I need to provide a working version of wxWidgets 3.0.x to MacPorts users and wouldn't mind "outsourcing" some effort :) |
I'll try to look into the backport in the next few days (but no promises). |
I don't want to highjack pull requests, I can open a new ticket, but just to mention here that the build of the latest master (c70abf2) on 10.7 fails for me with: |
That should have been fixed by 7684f92 |
The relevant line in output of configure is
and
Maybe there's a minor bug in The problem is that #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9
resolves to #if defined(MAC_OS_X_VERSION_10_9) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9
Also, shouldn't the test in I can try to find a better solution and open a PR, or open ticket on Trac in case I run out of ideas. |
I think I figured out the issue, please see #370 for a fix. |
QTKit has been removed from OS X 10.12 SDK.
QTKit has been superseded by AVFoundation since OS X 10.7.
Since wxWidgets >= 3.1 requires 10.7 anyway there is no reason to support the old API.
Additionally the AVFoundation implementation may use AVKit (available since 10.9). It will be used when available and the deployment target is met.
See #336