I think I also ran into the same problem the other day with Qt 4.4. Pin-Yen
--- Alon Barak <[email protected]> wrote: > Problem with this code in qpaintengineex.cpp. > > The lines where memory access violation happens > marked in RED : > > > > void QPaintEngineEx::drawLines(const QLine *lines, > int lineCount) > > { > > int elementCount = lineCount << 1; > > while (elementCount > 0) { > > int count = qMin(elementCount, 32); > > > > qreal pts[64]; > > int count2 = count<<2; > > #ifdef Q_WS_MAC > > for (int i=0; i<count2; i+=2) { > > pts[i] = ((int *) lines)[i+1]; > > pts[i+1] = ((int *) lines)[i]; > > } > > #else > > for (int i=0; i<count2; ++i) > > pts[i] = ((int *) lines)[i]; > > #endif > > > > QVectorPath path(pts, count, > qpaintengineex_line_types_16, > QVectorPath::LinesHint); > > stroke(path, state()->pen); > > > > elementCount -= 32; > > lines += 16; > > } > > } > > > > Sincerely, > > ------------------------------------------- > > Alon Barak > > Software Engineer > > Valor Computerized Systems LTD > > Email: [email protected] > > -------------------------------------------- > > > > > > > > > > This mail was sent via Mail-SeCure System. > > > _______________________________________________ > Qt4-preview-feedback mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback > _______________________________________ 辣茩妏蚚閉湮⺍講捇誥蚘眊 http://cn.mail.yahoo.com
_______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
