Flickering with multiple QGLWidgets

  • 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?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.