[SOLVED] vlc-qt fullscreen mode
Hello everyone. I started studying vlc-qt and I have a problem. I have pasted vlcvideowidget in qwidget. Video works, but takes up only a small area in the corner of the main window.
But I need a full-screen mode. How do I make the videoframe takes all the mainwindow? I think it should be easy, but not for such a newbie like me)
I also have the following errors:
[00000000028e98b8] main interface error: no suitable interface module
[0000000002a45dc8] main vout display error: Failed to set on top
Here is the code.
_instance = new VlcInstance(VlcCommon::args(), this);
_media = new VlcMedia("C:/promo/repeat.mp4", true, _instance);
_player = new VlcMediaPlayer(_instance);
_videowidget = new VlcWidgetVideo(_player,this);
int main(int argc, char *argv)
QApplication app(argc, argv);
class DemoPlayer : public QMainWindow
explicit DemoPlayer(QWidget *parent = 0);
#endif // DEMOPLAYER_H_
Hi and welcome to devnet,
From just a quick overlook at the code (I haven't used that lib yet) you don't set any widget as DemoPlayer centralWidget so it's not managed for you
Thanks for the quick reply! Now I understand)
Topic may be closed.
You're welcome !
The current way of doing that is to prepend [solved] to the thread title (just edit the original post and modify the title)