You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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