QWayland is automatically used on all desktops besided Gnome, but it already works just fine there. We also
should use a gnome platform theme when possible (e.g. QGnomePlatform) for better Gnome integration. Using
wayland makes Qt apps on Gnome wayland sessions to better support HiDPI and also applications using
--socket=fallback-x11 will not fail to start
Details
Details
- Reviewers
apol - Commits
- R257:d2db53cd1024: Use wayland platform plugin on Gnome
Diff Detail
Diff Detail
- Repository
- R257 Flatpak packaging for KDE Platform and Sdk
- Branch
- qt5.12lts
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 14572 Build 14590: arc lint + arc unit
Comment Actions
I'm not sure whether this will be approved by upstream, because there is no native decoration support for Gnome. I have almost ready decorations implemented in QGnomePlatform, which I will update in Flathub soon, but distributions which don't use it or users who don't have QGnomePlatform installed will have just basic decorations provided by QWayland.
Comment Actions
Ok, let's see:
- https://codereview.qt-project.org/c/qt/qtbase/+/269132
- https://codereview.qt-project.org/c/qt/qtwayland/+/269115
The third patch was already upstreamed, I took it from "dev" branch.
Comment Actions
Aleix, do you think we can get this merged? It might take a while to get this upstreamed and it's pretty annoying to have Qt apps use xcb plugin on Gnome wayland when you use HiDPI display, it forces me to set everything manually.