[Qt] TQtWidget

zeljko at holobit.net zeljko at holobit.net
Sun Jul 15 18:50:41 CEST 2007


Quoting Den Jean <Den.Jean at telenet.be>:

> On Thursday 12 July 2007 10:23:45 pm Felipe Monteiro de Carvalho wrote:
>> Yes .... LCL was wrong, it was passing a Types.TPoint instead of a
>> TQtPoint to the function
>
> in qtwinapi.inc, the implementation of polygon and alike are wrong for Mac:
>
>
> function TQtWidgetSet.Polygon(DC: HDC; Points: PPoint; NumPts: Integer;
>   Winding: Boolean): boolean;
> ....
> QPainter_drawPolygon(TQtDeviceContext(DC).Widget, PQtPoint(Points), NumPts,
> QtWindingFill)
>
> the typecast is a problem ...

oops, I don't know how it should look like (don't have an Mac yet).
Do you know what need to be done / what is the proper way to get it  
work on Mac instead of such typecast ?

zeljko



More information about the Qt mailing list