Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Flickering with multiple QGLWidgets
Qt 6.11 is out! See what's new in the release blog

Flickering with multiple QGLWidgets

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 697 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MasterOfDisaster
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved