Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.7.1
-
None
-
Win XP32
Description
QPainterPath pp; qreal x, y; // set x, y to some reasonable values
pp.moveTo (x, ph - y);
for (qint64 i = 0; i < 9000000; i++)
pp.lineTo (x, ph - y); // just give some reasonable values to x, y
QPainter p.drawPath (pp); // crashes
// 0..8M ok 2M..10M ok. Problem is quantity
For instance: A work around is to split 10 million into chunks of 1 million
and call 10 times a drawPath.