-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
Windows 10 x64
Qt 5.7 MinGW
Suppose we have the following code:
Rectangle {
id: rect
width: 50
height: 50
x: 100
y: 100
color: "orange"
}
PathAnimation {
target: rect
duration: 5000
running: true
path: Path {
startX: 100
startY: 100
PathSvg {
path: "M 100 100 L 300 100 L 200 300 z"
}
}
}
The PathSvg doesn't work in this case. Replacing that with one of other path segments like PathLine, PathQuad etc. works fine.
Adding
QT += svg
or QTPLUGIN += qsvg
doesn't solve the problem.
The code doesn't produce any error / warning message.