Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT Quick performance with rotation
Forum Updated to NodeBB v4.3 + New Features

QT Quick performance with rotation

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 236 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HSK_Developer
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      HSK_Developer
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved