- 
    
Bug
 - 
    Resolution: Duplicate
 - 
    
P3: Somewhat important
 - 
    None
 - 
    5.8.0 RC
 - 
    None
 - 
    Windows 10 x64
 
When trying to set default system theme in the example Gallery from Qt QuickControls 2, the following code doesn't work:
[Material] Primary=#41cd52 Accent=#41cd52 Theme=System [Universal] Accent=#41cd52 Theme=System
or if you want to debug the value, like this snippet (from my App):
RadioButton {
    text: qsTr("Light")
    checked: appSettings.theme === "Light"
    ButtonGroup.group: modeBG
    onClicked: {
        appSettings.theme = "Light"
    }
}
RadioButton {
    text: qsTr("Dark")
    checked: appSettings.theme === "Dark"
    ButtonGroup.group: modeBG
    onClicked: {
        appSettings.theme = "Dark"
    }
}
RadioButton {
    text: qsTr("System theme")
    ButtonGroup.group: modeBG
    onClicked: {
        if (appSettings.style === "Material") {
            appSettings.theme = "Material.System"
        } else {
            appSettings.theme = "Universal.System"
        }
        console.log(Material.theme)
    }
}
it always returns qml: 0, never qml: 1
Am I missing something?
- duplicates
 - 
                    
QTBUG-83908 Material.System does not work on Windows 10 in Dark Mode
-         
 - Closed
 
 -