QGuiApplication::setPalette and QML
Unsolved
QML and Qt Quick
-
According to the Qt documentation, you can change the palette of QML controls.
"You can also set the default palette for controls by either:
passing a custom palette to QGuiApplication::setPalette(), before loading any QML; or "I change the palette, but when I access the palette in a Quick control, the palette is still the system palette. I think the issue is with the signal paletteChanged on QGuiApplication which is not firing in Qt 5.12. It seems it is fixed in 5.13 according to this bug. I am unfortunately stuck on 5.12 for the moment.
Is there another way of getting my palette into the Quick controls?