I'm trying to setup a very basic QVideoWidget in QT6 (6.4.0 to be precise), and i've managed to get it working but I keep getting this annoying warning message and i'm not sure why or what's causing it. I cannot find anything about this online
You can refer to my example code here I use on Windows 10:
int main(int aArgc, char *aArgv[]) {
QApplication myApplication{aArgc, aArgv};
QMainWindow myMainWindow;
QVideoWidget myVideoWidget{&myMainWindow};
myVideoWidget.setGeometry(200, 200, 300, 300);
myMainWindow.show();
return myApplication.exec();
}
Something critical to note is I only get this error message when I expand the window to see the video widget, there is no warning message before that!
I want to understand what I am doing wrong to try eliminate any un-needed console output. Any help or pointers in the right direction is infinitely appreciated, thanks!