Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Smoothly rotate a Rectangle in QML

$
0
0
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.

Viewing all articles
Browse latest Browse all 18427