Qt 6.11 is out! See what's new in the release
blog
Material.dark not working.
-
I wanted to have a app which can switch between light and dark mode style so I choosed the Material Style like this:
QQuickStyle::setStyle("Material");That works it gives me Material with Material.light.
I can also adjust some parameters like this in QML
Material.primary: Material.LightBlue Material.accent: Material.BlueHowever if I try to set the dark mode like this:
Material.theme: Material.darkI see absolutely no difference to Material.Light. What could be the issue?
My system is Manjaro with KDE.
-
Really stupid it was the typo:
Material.theme: Material.**D**arkTo bad we don't get complains from QML about issues like that...