Commit Graph

2 Commits

Author SHA1 Message Date
vasilito 8c51508362 fix: kded6 wrapper renames wayland plugin to force offscreen fallback
QT_QPA_PLATFORM=offscreen alone is NOT sufficient on Redox —
Qt6 still loads libqwayland.so despite the env var. The wrapper
now renames libqwayland.so to .disabled before launching kded6,
forcing Qt to fall back to the offscreen plugin which works.

This is the most reliable fix: physically preventing Qt from
finding the wayland plugin.
2026-05-06 16:24:31 +01:00
vasilito 5a8014fe7c fix: kded6 wrapper script — definitive Qt6 Wayland crash prevention
kded6 wrapper (/usr/bin/kded6 → kded6-wrapper.sh → kded6.real):
- Sets QT_QPA_PLATFORM=offscreen before executing real kded6
- Works regardless of launch mechanism (init, D-Bus, direct)
- No dependency on #ifdef Q_OS_REDOX, D-Bus Environment=, or build cache
- kded6 is a headless D-Bus daemon — Wayland adds no functionality

redox.patch: added null guards to wayland-client.c (wl_proxy_add_listener,
wl_proxy_get_version, wl_proxy_get_display) — durable patch for when
libwayland build is fixed.
2026-05-06 16:10:18 +01:00