Play a video with custom overlay graphics

后端 未结 2 1051
无人及你
无人及你 2020-12-20 06:34

I want to play a video (with sound) in a simple GUI with \"play\" and \"stop\" buttons etc. There are classes and widgets in Qt\'s Phonon module for doing that, and several

2条回答
  •  难免孤独
    2020-12-20 06:36

    Your solution cannot work because you cannot add a QGLWidget to QGraphicsProxyWidget. Please look at http://doc.qt.digia.com/qt/qgraphicsproxywidget.html

    Note that widgets with the Qt::WA_PaintOnScreen widget attribute set and widgets that wrap an external application or controller cannot be embedded. Examples are QGLWidget and QAxWidget.

    Please correct me if I'm wrong.

提交回复
热议问题