Re: [Interest] Issue with QGLWidget inside QMdiArea

2016-01-21 Thread Thomas Robitaille
Hi Giuseppe, Thank you for your quick reply - it looks like QOpenGLWidget was only added in Qt5. I will try this to see if it helps, but in the mean time, can you (or anyone else) suggest any possible workarounds that might work with Qt4? Thanks! Tom On 21 January 2016 at 12:31, Giuseppe D'Ange

Re: [Interest] Issue with QGLWidget inside QMdiArea

2016-01-21 Thread Giuseppe D'Angelo
On Thu, Jan 21, 2016 at 1:25 PM, Thomas Robitaille wrote: > This issue does NOT happen if I don't use a QMdiArea. Does anyone know > what might be causing this problem, and how to fix it? Is it a bug in > Qt? It is a consequence of QGLWidget creating a frameless top level window and trying to mak

[Interest] Issue with QGLWidget inside QMdiArea

2016-01-21 Thread Thomas Robitaille
Hi everyone, I am trying to add a QGLWidget in an application I am working on. However, I'm running into an issue which is that if I try and add the QGLWidget to a QMdiArea, there is a very noticeable spatial lag between where the Qt window is drawn and the OpenGL canvas when dragging the MDI sub-