You are not logged in.

1

Sunday, October 9th 2005, 3:18am

qte2.3--What can I do for QPainter?

I find the question that I use the QPainter to draw the polygon in those days.I write the programme and compile it then find the question that is no matching function for call to "QPainter::drawConvexPolygon".I refer to the qpainter.h then I find that there are no "QPainter::drawConvexPolygon" in the qpainter.h.
What can I to do?
Who can help me?
Thanks.

dimitri

Professional

  • "dimitri" is male

Posts: 1,311

Occupation: Engineer

  • Send private message

2

Sunday, October 9th 2005, 8:11pm

RE: qte2.3--What can I do for QPainter?

QPainter::drawConvexPolygon() is indeed a Qt 3 function, it's not available in Qt 2. Qt 2 has QPainter::drawPolygon().

3

Monday, October 10th 2005, 3:47am

RE: qte2.3--What can I do for QPainter?

Thanks