Controls.Windows dark mode
Unsolved
QML and Qt Quick
-
The above screenshot was taken after starting my application with Windows's dark mode turned on. The following screenshot was taken after starting with it turned off:
As you can see, dark mode only affects the FreeDesktop icons and the HeaderViews.
My main.qml imports QtQuick.Controls (not one of the sub-modules like QtQuick.Controls.Windows or Universal). I'm using PySide6 6.8.
I looked at the documentation, but unlike the other styles, the Windows style doesn't have a theme option that can be set with
Windows.theme = 'System'
. Is there a way to get dark mode working for all components? Has it just not been implemented yet? I don't really want to resort to Universal unless I have no other option.