Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.2
-
None
-
Linux, Fedora 12, x86-64, Qt 4.6.2 (Fedora binary version)
-
ffb5db8aafbe2b49be5cd454841a2af8acc426ee
Description
When Antialiasing is switched on I can reproducibly cause Qt to hang when drawing a polyline, under Fedora 12 Linux, x86-64. This may be because the dataset includes a large number of very similar points.
Please compile and run the attached program. The main routine just does this:
void Win::paintEvent(QPaintEvent*)
{
QPainter painter(this);
QPolygonF poly;
for(size_t i = 0; i != numpts; i++)
// crashes with line below enabled
painter.setRenderHint(QPainter::Antialiasing, true);
painter.drawPolyline(poly);
}