[Qt-interest] Using QPainter in QGLWidget on OSX with Radeon cards draws in black ...
David Geldreich
david.geldreich at free.fr
Tue Jun 21 01:03:30 CEST 2011
FYI, I just downloaded the qt-4.7-stable sources from Git to be able to run the OpenGL autotest and they all fail with the Radeon card.
Submitted http://bugreports.qt.nokia.com/browse/QTBUG-19982
Le 20 juin 2011 à 16:57, David Geldreich a écrit :
> Hi all,
>
> we are experiencing a strange behavior with Qt 4.7.1 (reproduced with Qt 4.6.4, Qt 4.7.3) on OSX SnowLeopard (10.6) and Leopard (10.5) when using an ATI Radeon graphics card.
>
> We discovered this by using a QGLWidget as QGraphicsView's viewport.
>
> When using a QPainter in a QGLWidget, the color seems to be "ignored", all the primitives are drawn in black.
>
> I attach an example to reproduce. If I force OpenGL paint engine instead of OpenGL2, the problem "disappear" !!
>
> Anyone experienced a similar problem ?
>
> Regards.
>
>
> <main.cpp>
More information about the Qt-interest-old
mailing list