Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.15.1
-
None
Description
In the doc on this page it says "To render using OpenGL, simply call setViewport(new QOpenGLWidget)"
However, doing so only produces a repeating stream of these errors:
Failed to activate video surface
QOpenGLFunctions created with non-current context
QPainterVideoSurface: Vertex shader compile error
Steps to reproduce:
- on mac, on a fresh install of Qt Creator 4.13.1 (5.15.1), open the example "Video Graphics Item"
- at the top of VideoPlayer::VideoPlayer, add this code:
- graphicsView->setViewport(new QOpenGLWidget());
- run and open an HD (1920x1080) h.264 movie, and play it
result: no video, lots of errors in log