Smoothly rotate a Rectangle in QML
-
I need to make a rectangle and rotate it a bit (5-10 degrees), but I'm getting a weird non-smooth result.
Is it a way to make it smooth?
QML code:
@Rectangle {
smooth: true
transform: Rotation {
angle: 5
}
}@Setting or removing smooth does nothing. Setting or removing any of render hints does nothing.
I'm using Qt 4.8.1 on Linux. -
@Rectangle {
...
antialiasing: true
}@