Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to rotate application in eglfs



  • Hi All,
    I'm using eglfs without X server.
    I had designed an application that need to rotate the screen to 90 degree.

    I had try export QT_QPA_EGLFS_ROTATION=90 and execute my application by below command.

    ./application -platform eglfs
    

    But screen did not rotate successfully.
    I tried to do below command too.

    echo 1 > /sys/class/graphics/fbcon/rotate
    

    But this can only rotate console not my application.

    Did I miss anything?

    Thanks in Advanced!


Log in to reply