Mouser Cursor Rotation



  • 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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.