Qt 5.9 | Qt Multimedia | Qt Multimedia Examples | Video Graphics Item Example

Qt 5.9.4 Reference Documentation

# Video Graphics Item Example

Video Graphics Item demonstrates how to implement a QGraphicsItem that displays video on a graphics scene using QAbstractVideoSurface.

## Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

Files:

- multimediawidgets/videographicsitem/videoplayer.cpp
- multimediawidgets/videographicsitem/videoplayer.h
- multimediawidgets/videographicsitem/main.cpp
- multimediawidgets/videographicsitem/videographicsitem.pro

See also Video Widget Example.