OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
wayland-compat high common DISPUTE

Fix the share picker crashing on a missing Qt6 Wayland library

omarchyarchendeavouroscachyosmanjarohyprlandwayland
CORRECTED An auditor found the fix wrong or incomplete and rewrote it.
AUDIT NOTE

The problem is real and the cited source (xdg-desktop-portal-hyprland#367) is genuine, but the fix does not follow from the log that is quoted. 'Could not load the Qt platform plugin "wayland" ... even though it was found' plus 'No shell integration named "xdg-shell" found' means qt6-wayland IS installed but is ABI-mismatched against qt6-base (classic partial upgrade). Against that state pacman -S --needed qt6-wayland is a silent no-op because --needed skips already-installed packages, so the user runs the command, sees 'nothing to do', and concludes the record is wrong. The maintainer's own resolution in that issue was to reinstall qt6-base and qt6-wayland together. Also: hyprland-share-picker is Qt6 only, so qt5-wayland is irrelevant to it.

The cause above was rewritten on 2026-08-30 to match this note; the fix was corrected by the audit itself.

Symptom

Screen share silently fails. journalctl --user -u xdg-desktop-portal-hyprland or systemctl --user status xdg-desktop-portal-hyprland shows: hyprland-share-picker[5621]: Could not load the Qt platform plugin "wayland" in "" even though it was found. followed by This application failed to start because no Qt platform plugin could be initialized. and No shell integration named "xdg-shell" found.

Cause

hyprland-share-picker is a Qt 6 application and needs the qt6-wayland platform plugin to create a window. Without a usable one the picker dies instantly and the portal never gets a selection back, so the calling app just sees the share request fail. Read the log carefully to tell the two states apart: 'Could not load the Qt platform plugin "wayland" ... **even though it was found**', together with 'No shell integration named "xdg-shell" found', means qt6-wayland is installed but ABI-mismatched against qt6-base after a partial upgrade. The plugin is present and refuses to load. The same root cause makes OBS unable to open.

Fix

First rule out a partial upgrade, which is the actual cause when the log says the plugin was FOUND but could not load:


sudo pacman -Syu

If qt6-wayland was simply absent, that installs it. If it was present but ABI-mismatched with qt6-base (the case in xdg-desktop-portal-hyprland#367), force a matched reinstall of both:


sudo pacman -S qt6-base qt6-wayland

Only if pacman insists they are already up to date and the picker still dies, force the file reinstall:


sudo pacman -S --overwrite '*' qt6-base qt6-wayland

Then restart the backend:


systemctl --user restart xdg-desktop-portal-hyprland.service

If the picker starts but is unthemed, push the Qt theme vars into the activation environment (this pair is straight off the Hyprland wiki):


dbus-update-activation-environment --systemd --all
systemctl --user import-environment QT_QPA_PLATFORMTHEME

Test the picker standalone. It should open a window instead of exiting:


hyprland-share-picker

Note: on Omarchy the stock Qt picker is replaced by hyprland-preview-share-picker in ~/.config/hypr/xdph.conf, so run that binary instead when testing there.

Verify

hyprland-share-picker opens a window listing outputs/windows instead of printing the Qt platform plugin error. Screen share in a browser now shows the picker.

Sources

share-picker-crashes-missing-qt6-wayland