Hi,
I've added a GLWidget as a child to a custom widget. However, when I move the GLWidget around it seems to lag a little, as in-- it seems to be painted at the previous spot that the parent widget was on.
This also happens when I replace the GLWidget with a DirectX-based widget. I've set the proper flags (NoPaintBackground, OpaquePaintEvent, etc). Also, in the places where the widget is *supposed* to paint, Qt doesn't fill the background, resulting in ugly flicker. The DirectX widget does a 'present' call in the paintEvent to the winId() of the window, but again, the problem is present in the GL Widget as well.
This makes resizing and moving the window look pretty bad, and although I currently have 'fixed' it by doing resizes and moves with QRubberBand, I'd still like to fix this.
Bookmarks