fix: kded6 offscreen wrapper — belt-and-suspenders for Qt6 Wayland crash
- D-Bus service Exec=/usr/bin/env QT_QPA_PLATFORM=offscreen /usr/bin/kded6 - kded6-offscreen wrapper script for direct launches - Works regardless of whether #ifdef Q_OS_REDOX is defined during build This is the most reliable approach: process-level environment override bypasses all compilation issues, #ifdef guard issues, and build chain caching problems.
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
export QT_QPA_PLATFORM=offscreen
|
||||||
|
exec /usr/bin/kded6 "$@"
|
||||||
+2
-3
@@ -1,6 +1,5 @@
|
|||||||
[D-BUS Service]
|
[D-BUS Service]
|
||||||
Name=org.kde.kded6
|
Name=org.kde.kded6
|
||||||
# Use 'env' to set QT_QPA_PLATFORM — the Environment= key may not be
|
# Use env to force offscreen QPA. kded6 is a headless D-Bus daemon.
|
||||||
# supported by all D-Bus daemons. kded6 is headless; offscreen prevents
|
# Qt6 Wayland crashes at null+8 during wl_registry init on Redox.
|
||||||
# the Qt6 Wayland QPA crash (page fault at null+8 during wl_registry init).
|
|
||||||
Exec=/usr/bin/env QT_QPA_PLATFORM=offscreen /usr/bin/kded6
|
Exec=/usr/bin/env QT_QPA_PLATFORM=offscreen /usr/bin/kded6
|
||||||
|
|||||||
Reference in New Issue
Block a user