[Qt-interest] Cosmetic Pen in Win bug
Reinhardt Behm
reinhardt.behm at t-online.de
Thu Feb 25 20:25:48 CET 2010
On Monday 22 February 2010 20:51, Reinhardt Behm wrote:
> While porting an application from Linux to Windows I encountered a problem
> with cosmetic QPen for QGraphicsLineItem in a QGraphicsScene.
> When the start and endpoint of the line are equal the whole view is filled
> with the color of the pen.
> In Linux/X11 it works perfectly but in Windows this happens at least with
> Qt4.6.0 and 4.6.1. I have not yet tried other versions.
> Any body else ran into this, any solutions, workarounds?
Just to add some more info:
Attached is a small sample program and the results in linux and windows.
--
Reinhardt Behm, 55294 Bodenheim, Burgweg 3A
reinhardt.behm at t-online.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 812 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100225/5106385a/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cosmetic-linux1.png
Type: image/png
Size: 4903 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100225/5106385a/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cosmetic-windows
Type: image/jpeg
Size: 5501 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100225/5106385a/attachment.jpe
More information about the Qt-interest-old
mailing list