[Gambas-user] In general, reason for using gb.qt5

Gianluigi bagonergi at gmail.com
Wed Feb 21 22:14:49 CET 2018


2018-02-21 14:58 GMT+01:00 Benoît Minisini <g4mba5 at gmail.com>:

> Le 21/02/2018 à 09:00, Rolf-Werner Eilert a écrit :
>
>> Hi folks,
>>
>> Maybe a stupid question? My programs still have gb.qt4 and gb.qt4.ext as
>> components as up to now they have partly run on older systems.
>>
>> On a newer system based on qt5, what would be the advantage to use gb.qt5
>> and gb.qt5.ext instead? And are there drawbacks?
>>
>> A quick look showed that some of the elements scale there letters
>> somewhat wider, i. e. lists for instance become a bit longer, and the
>> overall look-and-feel adapts somewhat better to the theme on my KDE
>> desktop. Have you found any glitches?
>>
>> Thanks for your insight!
>>
>> Rolf
>>
>>
> The size of the GUI elements is just related to the font size, not the
> toolkit by itself. You have to configure the font used by qt5 to be the
> same that the one used by qt4.
>
> If this is the case, it's true that the same font size is not displayed
> identically between both toolkits, but the difference should not be
> important.
>
> The other difference is in the webkit component, which is obviously not
> the same. Moreover, the qt4 webkit component has been replaced in qt5 by a
> other one with less feature. The qt5 webkit component is still there, but
> deprecated.
>
> qt5 uses libxcb instead of libX11 to communicate with the X server.
>
> qt5 buffers every drawing. It's smoother on a local desktop, but you will
> suffer if you use a distant X11 connection.
>
> This list is not exhaustive!
>
> --
> Benoît Minisini
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>

Hi Benoit,
what will be the future of programs using the webkit component?

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180221/cb537b91/attachment.html>


More information about the User mailing list