Solved How to Insert QVideoWidget Item into QTabWidget
-
Hi, i'm developing a simple desktop application with .ui files. In no way i couldn't insert a QVideoWidget item into QTabWidget. Here an ss:
I want to insert a couple of items into Main Tab, one of them is QVideoWidget. Anyone know how to do that?
Thanks in advance.
-
Insert a
QWidget
then right click on it and chose "promote" to promote it toQVideoWidget
-
the ss.
And docs for using the promotion feature. ( if needed)
http://doc.qt.io/qt-5/designer-using-custom-widgets.html -
@VRonin It is like you said, but i am trying to do insert a QWidget into a QTabWidget, then insert QVideoWidget into that inserted QWidget. But nothing displaying! I promoted QWidget to QVideoWidget ...
-
Ok it's done :)
My video source was not handled, many thanks :)