[Qt-interest] Using QPainter in QGLWidget on OSX with Radeon cards draws in black ...
David Geldreich
david.geldreich at free.fr
Mon Jun 20 16:57:26 CEST 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: application/octet-stream
Size: 964 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110620/f505b4a0/attachment.obj
More information about the Qt-interest-old
mailing list