Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QMediaPlayer Widget causes invisible window
seang96 last edited by
I want to add a videoplayer inside of a qtabwidget in my .ui form file. When the program is ran (Windows 8) the program window is invisible and the video plays (you can hear it). Also, if I comment out everything after "ui->Information->addTab(videoWidget, "video");" the program's UI loads like normal and the new tab is created "video", however nothing works cause the mediaPlayer code is commented out. This is the code for the media widget:
QVideoWidget *videoWidget = new QVideoWidget();
Can someone help? Thanks!