Hi,

I have a simple qml item like

Rectangle {

     id: myRect

     width: 360; height: 80

     color: "white" // this color should be skinned dynamically using qss
     //...

}

My requirement is that for different clients the color of the rect changes.
This can be perfectly done using qss in a QWidget based approach, where we
generate a qss specific to the client's requirement. Is there a way in which
I can use qss or css to do styling in QML. I hope there should be one, but I
need the best practice to achieve this.

Thanks,
Srikanth
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to