SUMMARY Haruna forces the use of the org.kde.desktop QtQuickControls style. STEPS TO REPRODUCE 1. Set the environment variables, for instance: `export QT_QUICK_CONTROLS_STYLE=Material` 2. Run Haruna OBSERVED RESULT Haruna does not use the style specified in the environment variable. EXPECTED RESULT Haruna should be using the Material theme, or any theme specified in the variable. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.8.3 ADDITIONAL INFORMATION The issue comes from Haruna manually setting a QQuickStyle, even when the environment variable has been specified. An acceptable solution would probably be to replace line 38 of main.cpp: QQuickStyle::setStyle(u"org.kde.desktop"_s); With the following statements: if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) { QQuickStyle::setStyle(u"org.kde.desktop"_s); }
Git commit 0c784ee0b439ea781cc85f1b01fad3742736fd9a by George Florea Bănuș. Committed on 20/10/2025 at 22:38. Pushed by georgefb into branch 'master'. main: only set style to 'org.kde.desktop' if QT_QUICK_CONTROLS_STYLE is empty M +3 -1 src/main.cpp https://invent.kde.org/multimedia/haruna/-/commit/0c784ee0b439ea781cc85f1b01fad3742736fd9a