Using the system theme
Unsolved
QML and Qt Quick
-
I did some research on the topic of system themes and found that setting things like
Universal.style: Universal.System
(or Material, depending on what style you're using) can make a QML app follow the system theme between light and dark. This works perfectly on my Linux desktop (KDE Plasma), but refuses to work on my Android phone. What could be the problem?Edit: Also, I'm noticing that the system style does not dynamically change with the system theme. Instead, the app must be restarted.
-
@BEEDELL-ROKE-JULIAN-LOCKHART normally in your root element
-
@LorenDB, thanks. That worked. I'll be testing my code eventually on Android too, so if I ascertain a solution I'll notify you of it.