I'm trying to use the Purple and other colors specified on this page but the colors aren't displaying accurately.
This is the image of Purple color being displayed on my device as well as linux:
Here are the relevant code snippets from the default Hello World app:
.pro file:
QT += qml quick quickcontrols2
main.cpp:
#include <QQuickStyle>
In int main(int argc, char *argv[])QQuickStyle::setStyle("Material");
main.qml:
Material.theme: Material.Dark
Material.accent: Material.Purple
