Skip to content
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

QTKit not available anymore on macOS Sierra #27

Open
jfsantos opened this issue Oct 6, 2016 · 1 comment
Open

QTKit not available anymore on macOS Sierra #27

jfsantos opened this issue Oct 6, 2016 · 1 comment

Comments

@jfsantos
Copy link

jfsantos commented Oct 6, 2016

This package does not compile anymore on Sierra as Apple has removed QTKit (see this issue from OpenCV for more info). OpenCV solved this by porting their code to use AVFoundation instead, but I have no experience with this so I'm just reporting this without a PR (sorry!).

@jdonald
Copy link

jdonald commented Apr 28, 2017

The first steps are fixing up camera.{h,m} are to #include <AVFoundation/AVFoundation.h> and handle some name-changes by replacing instances of QT with AV. Then there are other differences in the framework like QTCaptureDecompressedVideoOutput is now AVCaptureVideoDataOutput.

Then it's clear some of the delegate method signatures have changed in nontrivial ways, and this is certainly more than a 2-minute task and I stopped there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants