Comment 6 for bug 1862987

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Dmitry,

I am right now attempting to package QGnomePlatform for Ubuntu and ran into this issue. I would say it's *absolutely* needed for Qt to be able to draw on Wayland *and* to use gtk3 theming at all. This is very easy to reproduce: simply run a Qt application in Ubuntu (default Yaru theme) and it will default to the Fusion widget set. This can be mitigated with qt-style-plugins and using QT_QPA_PLATFORMTHEME="gtk2", but this is not the default and requires extra work for the user. My philosophy is to always make things easier for the end user that doesn't have any technical expertise.

You'll notice that if you switch to Wayland, even with the environment variable set, there is no way to get Qt applications in Wayland to actually use anything other than Fusion. Fedora has figured this out by using QGnomePlatform; the experience is seamless out-of-the-box.

The reality is that eventually this will need to be done, so why not just do it?