How to access native styles for qml applications?

I am currently working on an application with qml and I really like it. But I couldn't understand. I'm looking for something like QML SystemPalette, but for styling specific elements. Hopefully there will be something like this:

Button {
    SystemStyles { id: styles }

    text: "A button"
    style: styles.button

}

      

But if there is no way to do this, how can I create native looking desktop apps?

+3


source to share





All Articles