Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Mouser Cursor Rotation
Forum Updated to NodeBB v4.3 + New Features

Mouser Cursor Rotation

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 642 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.
  • michaelLM Offline
    michaelLM Offline
    michaelL
    wrote on last edited by
    #1

    Hi,

    i want to rotate the mouse cursor to 180 and i am using Qt5.
    I found this:

    QT_QPA_EGLFS_ROTATION - Specifies the rotation applied to software-rendered content in QWidget-based applications. Supported values are 180, 90, and -90. This does not apply to OpenGL-based windows, including Qt Quick. Qt Quick applications can apply transformations in their QML scene instead. The standard eglfs mouse cursor always takes the value into account, with appropriately positioned and rotated pointer image, regardless of the application type. The special cursor implementations, such as the KMS/DRM backend's hardware cursor, may not support rotation.

    So i tryied "export QT_QPA_EGLFS_ROTATION=180" before starting my application but that didnt turn the mouse pointer to 180°.
    Here is how i start my app:
    ./myapplication --platform eglfs

    I am running QML but on the text its says that it doenst matter for the mouse cursor which application he is on. It will turn normally.

    Any idea?

    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