[Qt-interest] QGLWidget & QGraphicsView not repainting on 2nd Monitor

Josiah Bryan jbryan at productiveconcepts.com
Fri Sep 18 20:39:49 CEST 2009


Josiah Bryan wrote:
> I've got a QGraphicsView as the central widget in an app I'm working on. 
> I setup OpenGL-accelerated painting using:
>
>     graphicsView->setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers)));
>   
[snip]
> So, two problems - with 2nd monitor enabled, app refuses to start. If I 
> disable monitor, start app, then enable monitor, app won't repaint on 
> that monitor.
By the way, dxdiag reports that both monitors work fine with Direct3D 
(yeah, I know - not OpenGL). But, what may be relevant, dxdiag repots 
that I'm running:

NVIDIA Quadro NVS 160M (Integrated RAMDAC), 512MB RAM (same for both 
monitors).

And the second monitor is running at 1024x768 (32bit).

dxdiag reports both displays check out fine for both d3d and direct 
draw. So why would QGLWidget be having a problem with this if D3D 
handles it fine?

Cheers!
-josiah




More information about the Qt-interest-old mailing list