Files
qbz/crates/qbz-qt
vicrodh 447efe2cd7 feat(qt): consume the renderer preference at startup (#104)
The Settings > Appearance RENDERER row rendered and persisted into the
SAME ui_prefs the Slint reads (settings_qt.rs:2105-2110) but nothing
consumed it — pick "software", restart, and Qt stayed on its default:
the row lied. apply_renderer_preference() now runs before
QGuiApplication::new with the Slint engine's precedence
(main.rs:7825-7848): explicit Qt envs (QSG_RHI_BACKEND /
QT_QUICK_BACKEND) > QBZ_RENDERER > persisted pref > Qt default (Metal
on macOS, OpenGL on Linux — both measured healthy). Cross-frontend
mapping: the GPU tiers (auto/wgpu/gpu/hardware/hw) ARE Qt's default on
both platforms; gl -> QSG_RHI_BACKEND=opengl on Linux and the Metal
default on macOS (the Slint remaps GL to skia(Metal) there,
main.rs:7651-7653); software -> QT_QUICK_BACKEND=software.

Still owed and kept in PARITY-DEBT #104: the crash auto-revert
sentinel and the frame-liveness watchdog — forcing a renderer without
them can leave a broken startup.

Gate: build + 204/204 tests + both QML audits green.

km
2026-08-02 00:30:26 -06:00
..