Commit Graph

6 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
vasilito 652af71a9c fix: kded6 uses offscreen QPA on Redox — Qt6 Wayland crashes at null+8
kded6's detectPlatform() forces QT_QPA_PLATFORM=wayland regardless
of external environment. On Redox, Qt6 Wayland QPA crashes during
wl_registry init (page fault at null+8). kded6 is a headless
D-Bus daemon — it does not need Wayland.

Added #ifdef Q_OS_REDOX guard: use 'offscreen' instead of 'wayland'.
Combined with libwayland null guards, this provides defense in depth
against the Qt6 Wayland crash on Redox.
2026-05-06 13:49:52 +01:00
vasilito 1908d8e643 fix: standardize Qt and KDE sysroot helper usage 2026-05-02 22:10:22 +01:00
vasilito 965141d67c Add kded6 source with pre-generated D-Bus XML and fix CMake prefix path
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-25 14:49:51 +01:00
vasilito 58edf0df0b Add kded6 recipe and rewrite kirigami for real Qt6Quick build
Phase 4 KDE Plasma preparation:

kded6: new recipe at local/recipes/kde/kf6-kded6/ building the KDE
daemon from source. Depends on kf6-kconfig, kf6-kcoreaddons,
kf6-kcrash, kf6-kdbusaddons, kf6-kservice — all already built.
Added to redbear-full.toml package list. D-Bus activation file
already existed; removed TODO now that recipe exists.

kirigami: rewrite from stub to real CMake build. qtdeclarative
(Qt6Quick) is now available, so the real Kirigami can be built
instead of installing dummy cmake configs and a static lib placeholder.
Added qtshadertools and qtsvg as additional dependencies.
2026-04-25 13:20:33 +01:00