[Development] Question about GTK+ support status

Knoll Lars Lars.Knoll at theqtcompany.com
Wed Jun 17 09:32:15 CEST 2015


On 17/06/15 09:21, "Dmitry Shachnev" <mitya57.ml at gmail.com> wrote:

>Hi J-P,
>
>On Tue, 16 Jun 2015 17:44:06 +0000, Nurmi J-P wrote:
>> Given that QGtkStyle is no longer part of the public API in Qt 5, how
>>about
>> making it a QStylePlugin and moving it out of QtWidgets? If someone
>> implements a style plugin for GTK+ 3, then it also becomes feasible to
>>have
>> platform theme plugins for both GTK+ 2 and 3. As you mentioned, a
>>platform
>> theme is the easy part. Implementing a QStyle for GTK+ 3.x is a lot more
>> work.
>
>I proposed removing QGtkStyle altogether, but moving it to qtstyleplugins
>is
>also a good idea. We just need to make sure we don't load it when the
>platform
>theme is gtk3 (as one can't load gtk2 and gtk3 libraries at the same
>time).
>
>> configure: add support for GTK+ 3.x -
>>https://codereview.qt-project.org/#/c/75599/
>> QGtk3ThemePlugin - https://codereview.qt-project.org/#/c/75757/
>
>Do we really need to keep gtk2 support in qtbase? I.e., do we really need
>to
>keep gtk2 theme if we have gtk3 theme?

IMO, we don’t. I’d be ok with removing gtk2 theming support once we have
gtk3 support in. I’d say let’s go that route unless someone has some good
and convincing arguments as to why we should keep gtk2 style support
around.

Cheers,
Lars

>
>Also the latter patch will need some rebasing for new version and new
>copyrights.
>
>--
>Dmitry Shachnev



More information about the Development mailing list