[Request] Making qt5-wayland and qt6-wayland dependencies of when both qt5/6 and wayland are installed

KDE stopped freezing intermittently after I noticed that qt5-wayland and qt6-wayland were not installed, while using wayland and qt.

Just the logs showing I installed it after updating wayland:

[2026-05-01T00:46:55-0300] [ALPM] upgraded lib32-wayland (1.24.0-1 → 1.25.0-1)
[2026-05-07T22:21:46-0300] [PACMAN] Running ‘pacman -S qt6-wayland qt5-wayland
[2026-05-07T22:21:48-0300] [ALPM] installed qt6-wayland (6.11.0-1.1)
[2026-05-07T22:21:48-0300] [ALPM] installed qt5-wayland (5.15.18+kde+r55-1.1)

This is not true.

You may need them for some other reason .. maybe some foreign software does not have dependencies properly defined?

But I have been running a Plasma system without qt6-wayland for months. Ever since it was removed as a depend of various packages like gwenview.

qt5-wayland is similarly not required except if you are using qt5 - which Plasma does not by default.

I run some qt applications and they improved a lot after installing the wayland packages for qt, like stremio. When it’s not installed, the qt applications try to load the wayland backend and it doesn’t work.

This can be seen here (it then runs using xwayland, causing sttutering);

❯ sudo pacman -R qt5-wayland qt6-wayland
[sudo] senha para ———–:
verificando dependências…
:: qt5-base requer opcionalmente qt5-wayland: to run Qt applications in a Wayland session

Pacote (2) Versão antiga Diferença

qt5-wayland 5.15.18+kde+r55-1.1 -6,20 MiB
qt6-wayland 6.11.0-1.1 -4,81 MiB

Tamanho total removido: 11,01 MiB

:: Deseja remover estes pacotes? [S/n] s
:: Processando alterações do pacote…
(1/2) removendo qt6-wayland [---------------------------------------------------------------------------------------] 100%
(2/2) removendo qt5-wayland [---------------------------------------------------------------------------------------] 100%
:: Executando hooks pós-transação…
(1/1) Arming ConditionNeedsUpdate…

~ 7s
❯ stremio
qt.qpa.plugin: Could not find the Qt platform plugin “wayland” in “”
[cplayer] mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects

So yeah, some qt applications are not using the wayland backend without these packages.

Edit: after installing it again it’s normal and not stuttery:

❯ sudo pacman -S qt6-wayland qt5-wayland
resolvendo dependências…
procurando pacotes conflitantes…

Pacote (2) Versão nova Diferença

cachyos-extra-v3/qt5-wayland 5.15.18+kde+r55-1.1 6,20 MiB
cachyos-extra-v3/qt6-wayland 6.11.0-1.1 4,81 MiB

Tamanho total instalado: 11,01 MiB

:: Continuar a instalação? [S/n] s
(2/2) verificando chaves no chaveiro [---------------------------------------------------------------------------------------] 100%
(2/2) verificando integridade do pacote [---------------------------------------------------------------------------------------] 100%
(2/2) carregando arquivos do pacote [---------------------------------------------------------------------------------------] 100%
(2/2) verificando conflitos de arquivos [---------------------------------------------------------------------------------------] 100%
:: Processando alterações do pacote…
(1/2) instalando qt6-wayland [---------------------------------------------------------------------------------------] 100%
(2/2) instalando qt5-wayland [---------------------------------------------------------------------------------------] 100%
:: Executando hooks pós-transação…
(1/1) Arming ConditionNeedsUpdate…

~
❯ streimo
fish: Unknown command: streimo

~
❯ stremio
[cplayer] mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects

Now reading the response to the remove command, it’s even said explicitly:

❯ sudo pacman -R qt5-wayland qt6-wayland
[sudo] senha para ———–:
verificando dependências…
:: qt5-base requer opcionalmente qt5-wayland: to run Qt applications in a Wayland session

qt5-wayland: to run Qt applications in a Wayland session

That was written when the latest qt was qt5.
( And when wayland itself was less mature. )

stremio is a third party (unsupported) package .. maybe from the AUR?

It also appears to be qt5 so yeah .. maybe the qt5-wayland stuff applies .. its just that

  • A. If thats true then it should be listed in its optdepends at least.
    ( Again becuase this is foreign thats an issue of the maintainer. )
  • B. KDE Plasma is QT6. No QT5 to be found by default.

In any case if you are talking about some specific software causing this, especially something foreign, then it would not be a Cachy or KDE issue.

PS.

For further example, besides the lack of instability, you may note that no windows fall back to xwayland/X11 in the following kwin debug scrot;

https://imgur.com/8aHHwyM

I’m talking about qt5-wayland being necessary for running qt5 applications with wayland (which it is) and qt6-wayland for qt6. This both on gnome, KDE, sway, or any DE or WM that uses wayland, it’s not KDE or application specific.

All I’m saying is that cachyos doesn’t come with the wayland backends for qt5 and qt6 by default, making applications stuttery on wayland, as they’re going to use xwayland. All I’m asking is to add a dependency on checking if it will add a wayland server and any qt application, because with both, it would be better to use the wayland backend for qt.

They’re already optional dependencies of qt5-base and qt6-base, I’m asking for this specific thing, that they could come already installed or being a dependency if both situations come at the same time.

Sure.
Thats why it has an optdepend in the qt5-base package.

As shown above with the screenshot and by my use of a system without that package for multiple months I can say this is not true .. at least on Plasma.

Again shown above to not be accurate.

We only have an example of this being true for you on a qt5 application and one that is foreign. I would think that package should have that as an optdepend but in any case it is of qt5-base. Which I might mention again is not present by default because there is no part of Plasma that is qt5.

Go ahead and remove only the qt6-wayland package and check again. You should note that things like dolphin continue to run in wayland.

You may use the kwin debug console to check yourself.

Dude, qt6-wayland isn’t needed for wayland on qt6 only for the kde applications (idk if all qt6 applications) on kde, it’s required for the rest.

Gnome doesn’t ship it’s own qt engine, nor does sway, only kde for it’s own applications or qt6 applications, but i would need to search about this to confirm on kde.

This seems to conflict with what is demonstrable on any Plasma system I have access to.

Looking again with non-KDE applications (qbittorrent and qarma*) still shows wayland, no stuttering, and qt6-wayland has still been missing since last October or thereabouts.

https://imgur.com/gtNUeaR

If this is somehow not true for you then I might think it is related to some other configuration - possibly the mixing of multiple DE/WMs if I am to understand correctly that as being the case.

* - Despite its description it actually uses qt6. See the PKGBUILD.