Qt 6.11 is out! See what's new in the release
blog
Flickering with multiple QGLWidgets
General and Desktop
1
Posts
1
Posters
697
Views
1
Watching
-
I put several QGLWidgets into a QGridLayout. When I resize the layout this leads to the appearance of a white background to be displayed intermittently, which is rather annoying. This is independent of the background color of the underlying widget and the same problem occurs when I use QWindow. I also tried several Qt versions (4.8.5, 5.1.1 and 5.2). The issue is present in all Qt versions tested and appears to be platform independent (tested on Windows 7 and Fedora).
Here's a list of other things I tried up to now:- any combination of the WindowFlags Qt::WA_NoBackground and Qt::WA_NoSystemBackground
- autoFillBackground true/false
- intercept the WM_ERASEBKGND using a native event filter
Is there any way to avoid the intermittent display of the white background?