Qt 6.4(.1) Fusion Style - Force light mode?
Unsolved
QML and Qt Quick
-
After updating to Qt 6.4.1 from 6.2.4 I noticed the fusion style now respects the Windows light/dark theme.
Is there any way to force a theme?All I found in the docs was "-platform windows:darkmode=1" , but this does nothing. (https://doc.qt.io/qt-6/qguiapplication.html#platform-specific-arguments)
Other styles have environment variables or settings for this purpose. -
I opened a bug report: https://bugreports.qt.io/browse/QTBUG-109545