[Qt-interest] QGraphicsView and vertical/horizontal lines which do not display

Sean Harmer sean.harmer at maps-technology.com
Thu Dec 18 17:17:18 CET 2008


Hi,

Cecilia Castillo wrote:
> When I display my initial set of points and lines, if the lines are 
> exactly vertical or horizontal, they sometimes do not display.  If I 
> move a point which causes the line to be off vertical or horizontal, 
> the line appears.  If I move the point back and the line goes 
> vertical/horizontal...the line disappears.
>   
I have seen this on occasion too. In my case, disabling antialiasing for 
those objects that are vertical or horizontal lines seemed to fix the issue.

Worth a try.

Sean




More information about the Qt-interest-old mailing list