nwtqtcntr
5th March 2019, 16:43
Hi
I am attempting to use some svg in qml but with no success. Located some examples on the web and tried all of them but with no luck. I have included a sample of code I would to use. Thanks for your help.
PathView {
anchors.fill: parent
Path {
startX: 0; startY: 0
PathSvg { path: "L 0 200 L 200 200 z" } // green
}
}
I am attempting to use some svg in qml but with no success. Located some examples on the web and tried all of them but with no luck. I have included a sample of code I would to use. Thanks for your help.
PathView {
anchors.fill: parent
Path {
startX: 0; startY: 0
PathSvg { path: "L 0 200 L 200 200 z" } // green
}
}