Hey Qt team,
I'm trying to convert a QGraphicsEllipseItem to a QPainterPath by using the shape() function.
When I set the span angle to 360 degrees I get the right shape. But when I use a lower degree (e. g. 359, 180 or 90) I get a strange shape.
I attached a picture for better understanding.
Red is what I want and blue is what I get.
I attached a minimal example so you can reproduce it.
I also get the same behavior with PyQt5.