How to force light or dark mode in app on macOS or Windows?
Unsolved
General and Desktop
-
Hi,
I'm testing moving to QML and the "Fusion" style; it seems the most consistent on both macOS and Windows.
In main() I can use
QQuickStyle::setStyle("Fusion");
to set the style. Is there a way to force the dark or light mode, rather than it just following the operating system setting?
Michael
-
@mjsmithers did you figure out how to explicitly control light or dark mode independent of the system? I'm having the same issue.