https://bugs.kde.org/show_bug.cgi?id=508878
Bug ID: 508878
Summary: Haruna does not follow QT_QUICK_CONTROLS_STYLE
Classification: Applications
Product: Haruna
Version First 1.4.0
Reported In:
Platform: Other
OS: All
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
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);
}
--
You are receiving this mail because:
You are watching all bug changes.