Josiah Bryan wrote: > > > Trond Kjernaasen wrote: >> Josiah Bryan wrote: >>> Hello All - >>> >>> Problem in the new Qt 4.6 RC 1 released today. >>> >>> The attached small example illustrates the problem: >>> >>> With a pen enabled and the graphics item's opacity() <1.0, the pen >>> appears to be rendered *after* the brush (see attached screenshot >>> 'prob1.png'), and appears to be rendered as a solid rectangle (e.g. >>> the rectangle drawn with the brush is rendered below a rectangle >>> drawn with the pen.) It should be noted that at 1.0 opacity, >>> drawRect() renders correctly. >>> >>> However, if the drawRect() call is ran without any pen set, then the >>> rectangle renders fine. Additionally, with a regular viewport (no >>> setViewport(new QGLWidget()) call), the drawRect() method does not >>> show this problem. (See Attached screenshot 'prob2.png' - no pen >>> enabled when drawRect() called - thats the ONLY difference between >>> the two screenshots.) >>> >>> I'm running Fedora 8 on Linux2.6.23.9-85.fc8 #1 SMP. >>> >>> Can anyone else replicate this problem or have any ideas how to fix it? >>> >>> Thanks! >>> -josiah >> >> We can't reproduce this here, but you could try to add: >> >> QGL::setPreferredPaintEngine(QPaintEngine::OpenGL); >> >> before calling the QApplication constructor and see if that helps. >> If it helps, it means there's a problem with the new GL 2 paint engine >> on your system. If you give us the details of the graphics card and GL >> driver you're using, it might help us reproduce and fix it. > > Unfortunately, the 'setPreferredPaintEngine' call has no effect - still > renders incorrectly with the call in place before QApplication is > constructed. > > I'm using a NVIDIA Quadro NVS 290/PCI/SSE2 graphics card with four 22" > screens. The NVIDIA X Server Settings program reports, under 'OpenGL/GLX > Information', that it's version '2.1.2 NVIDIA 169.07', and it has the > following extensions:
[snip] Does this work with Qt 4.5? Have you tried with a newer driver? The 169.07 is quite old, and there should be a 190.42 available for that card. Thanks, -- Trond K. _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
