[Interest] What is the state of Wayland support in Qt 6.10
Thiago Macieira
thiago.macieira at intel.com
Mon Jan 5 19:57:57 CET 2026
On Monday, 5 January 2026 15:04:41 Brasilia Standard Time Lencho via Interest
wrote:
> Unfortunately this confirms what I expected and makes it very difficult
> for me to promote my program on Linux (unless I explicitly restrict to
> X11 sessions under certain distributions that will still support it for
> a while, but that becomes a bit difficult to explain to non technical
> people!). Such a pity.
You need to engage the Wayland and compositor community and explain why you
need the features you think you do. Some of them may be possible already, some
may be in the pipeline, some others may not be because no one thought there
was a valid use-case.
Just be careful to explain the use-case, not the means by which you are used
to accomplishing it in X11. For example, Wayland does not support grabbing the
keyboard or mouse, but that is not needed for closing popups if the proper
protocol for handling popups exists, and it does.
> I had not though about enforcing using Xwayland, but isn't that
> something that is, also, completely beyond my control as the developer
> and not the end-user?
You can, by shipping only the Qt xcb protocol with your application (if you
ship a binary) or by programmatically forcing it to be the platform if you
distribute sources. There's no discussion about sunsetting the Xwayland
support, so for the next 5+ years, this is a valid approach.
> Finally, the last idea I have for now, not really tried, but maybe
> someone can directly put me off if they know it won't work either :-) :
> make my application always run fullscreen and therefore cover the whole
> desktop, and manipulate sub-windows as I want "inside" my fullscreen
> main window. Will it cover all monitors though?
>
> Has someone tried something like this under Wayland?
That works too, but of course it will cover the desktop's fixtures, which may
not be desired.
Again, you need to explain the use-cases, not just "move windows around and
stack them in a particular order".
--
Thiago Macieira - thiago.macieira (AT) intel.com
Principal Engineer - Intel DCG - Platform & Sys. Eng.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5150 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20260105/ad885495/attachment.bin>
More information about the Interest
mailing list