forked from mfreiholz/Qt-Advanced-Docking-System
-
Notifications
You must be signed in to change notification settings - Fork 643
Closed
Description
I'm having an issue when implementing QOpenGLWidgets and QWIdgets that contain QOpenGLWidgets in tabs. It looks like the update does not go all the way through to the children. What I mean by this is that
When QOpenGLWidget is directly added to a tab everything works as expected.
If QWidget which contains a QOpenGLWidget is added to the tab, the QOpenGLWidget requires a separate update() / repaint() event in order to correctly render. I've hacked together QTs examples hellogl2 - https://doc.qt.io/qt-5/qtopengl-hellogl2-example.html and your demo to demonstrate this - video
2022-01-31.12-53-07.mp4
I can provide code for this issue, it is reproducible with both Qt5.15 and Qt6. Do you have any idea what might cause this ?
-Adrian
Metadata
Metadata
Assignees
Labels
No labels