QT Quick performance with rotation
-
Hello,
I am developing a QT Quick Application on a Beaglebone Black (Debian 10.1, console image) with a 7'' resistive Touch Display.
The QT Application runs with the linuxfb plugin.
I need to rotate the screen by 90 degrees in some cases.
Now if I use the QT rotation property, it works but the performance gets a lot worse. Tumblers don't feel smooth anymore etc.
Do you know how I could fix the problem? -
For anyone having a similar problem, consider reading the qml performance article: https://doc.qt.io/qt-5/qtquick-performance.html
My problem was having a rectangle as root item for my application.
QT repaints the whole scene including the rectangle. I switched my root Item to "Item". Now it's smooth.
I am still not quite sure why the problem only occured when the rotation is not equal to 0 or 180.