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

qt_imageFromVideoFrame" no longer exists in Qt5.15.0 #3

Open
mwbrown42 opened this issue Dec 29, 2020 · 0 comments
Open

qt_imageFromVideoFrame" no longer exists in Qt5.15.0 #3

mwbrown42 opened this issue Dec 29, 2020 · 0 comments

Comments

@mwbrown42
Copy link

As described by "mw2785" in https://stackoverflow.com/questions/27829830/convert-qvideoframe-to-qimage:

_For anyone ending up here after finding that the qt private function "qt_imageFromVideoFrame" no longer exists in Qt5.15.0, you can now use the newly implemented method QImage QVideoFrame::image().

QImage img = frame.image();

I've tested this on Ubuntu and it works._

I tested this fix on Qt on Windows and it works.

I also want to add that you, Stephen Quan, are a steely-eyed missile man! Thanks for all the work you put into this.

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

1 participant