How to set the fullscreen of a QVideoWidget on another screen
Unsolved
General and Desktop
-
Hi everyone,
I am currently working on a custom media player and I ran into a problem, that with setFullscreen() it only shows it on the primary screen. I would like to implement, that it sets the fullscreen on the screen, which the application is on, at the time of pressing the fullscreen button.
Thanks in advance -
Hi and welcome to devnet,
Which version of Qt ?
On which OS ?
How are you making your application full screen ? -
@SGaist Hi,
I am using Qt version 6.5.0,
on Windows,
and to open fullscreen I am using the following code:void VideoWidget::mouseDoubleClickEvent(QMouseEvent *event) { setFullScreen(!isFullScreen()); event->accept(); }
VideoWidget is just a derived class from QVideoWidget