Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QGuiApplication::setPalette and QML
rincewind last edited by rincewind
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?