[Qt4-preview-feedback] Zero width pens and QGraphicsItem's on a QGLWidget viewport
Samuel Rødal
sroedal at trolltech.com
Tue Feb 10 17:32:56 CET 2009
Randy wrote:
> Lines with zero width that are drawn from QGraphicsItem::paint() when a
> QGLWidget is used as the viewport do not appear on screen. They appear
> correctly if a QGLWidget is not used as the viewport.
>
> In either case calling QWidget::render() does draw the line cosmetically.
Can you try the chips demo and see if you see any significant difference
when OpenGL is enabled there? From what I can tell zero width lines are
rendered correctly there. Perhaps you could provide a small example that
demonstrates the bug?
--
Samuel Rødal
More information about the Qt4-feedback
mailing list