Hi,

You can find it simply with a little help from google/qwant/duckduckgo/ect.

  *   
https://stackoverflow.com/questions/56601993/how-to-rotate-a-qt5-application-using-the-linux-framebuffer

To summarize:

  1.  Without changing code :
QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0:rotation=180


  1.  With using QGraphicsScene and QGraphicsView::rotate()

Regards

Fabrice

Von: Interest <[email protected]> Im Auftrag von Ramakanth 
Kesireddy
Gesendet: Montag, 6. Juli 2020 13:44
An: Qt Interest <[email protected]>
Betreff: [Interest] LinuxFB rotation configuration

Hi,

As there is an environment variable QT_QPA_EGLFS_ROTATION to specify the 
rotation applied to software rendered content in QWidget based applications.

Can you let me know if we have similar environment variable for LinuxFB to 
rotate Qt5 widget applications?

Thanks and Regards,
Ramakanth
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to