[Gambas-user] Qt4 "native" graphics system will not be supported anymore

Benoît Minisini gambas at ...1...
Wed Jan 7 00:30:29 CET 2015


Le 07/01/2015 00:25, Charlie Reinl a écrit :
> Am Mittwoch, den 07.01.2015, 00:07 +0100 schrieb Benoît Minisini:
>> Hi,
>>
>> Qt4 has three graphics system: "native" (i.e. X11 + XRender), "raster"
>> and "opengl".
>>
>> (1) The "opengl" system makes resizable windows slow as hell on my system.
>>
>> (2) The "native" system cannot make an anti-aliased clipping.
>>
>> I have found a workaround for (2) in revision #2558 (yes it's old), that
>> relies on the QPainterPath::intersected() method.
>>
>> But it appears now that this method is buggy, making cumulative calls to
>> Paint.Clip() somewhat unpredictable.
>>
>> So in revision #6815 I decided to remove that workaround.
>>
>> Consequently, now, only the "raster" graphics system will be supported.
>>
>> Regards,
>>
>
> Salut Benoît,
>
> what does that mean for me and my projects ?
>
>

It means: Use the QT4 raster graphics system or you will have problems. 
"opengl" seems to not be very stable, and "native" cannot have an 
anti-aliased clipping.

-- 
Benoît Minisini




More information about the User mailing list