diff --git a/local/recipes/kde/kf6-kded6/source/src/kded.cpp b/local/recipes/kde/kf6-kded6/source/src/kded.cpp index 0bae98e43..9d5d051a7 100644 --- a/local/recipes/kde/kf6-kded6/source/src/kded.cpp +++ b/local/recipes/kde/kf6-kded6/source/src/kded.cpp @@ -575,7 +575,13 @@ static bool detectPlatform(int argc, char **argv) return false; } if (qstrcmp(sessionType.data(), "wayland") == 0) { +#ifdef Q_OS_REDOX + // Qt6 Wayland QPA crashes at null+8 during wl_registry init on Redox. + // kded6 is a headless D-Bus daemon — use offscreen platform instead. + qputenv("QT_QPA_PLATFORM", "offscreen"); +#else qputenv("QT_QPA_PLATFORM", "wayland"); +#endif return true; } else if (qstrcmp(sessionType.data(), "x11") == 0) { qputenv("QT_QPA_PLATFORM", "xcb");