Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Make QGLWidget fullscreen when double clicked in Qt5
I'm trying to make a QGLWidget inside another window go fullscreen when double clicked then back to the parent window when double clicked again. I achieved this in Qt 4.8 with the following code:
@void GLVideoWidget::mouseDoubleClickEvent(QMouseEvent *e)
In Qt5 this doesn't work anymore. When first double clicked, the widget goes fullscreen, but when I double click it again, it just disappears and isn't part of the parent window anymore. Any thoughts?
I still need help with this, so if anyone could hep I would be thankful.
This can either be a regression or a new behavior. What exact version of Qt are you using and on what OS ?
[quote author="SGaist" date="1400707525"]Hi,
This can either be a regression or a new behavior. What exact version of Qt are you using and on what OS ?[/quote]
I'm using Qt 5.2.1 running on Ubuntu 14.04
Then I would recommend getting a look at the "bug report system":http://bugreports.qt-project.org to see if something known. If not you could consider opening a new report providing a minimal compilable example that shows the change of behavior