How to rotate a Qt5 application using the linux framebuffer?
问题 I have an embedded linux application running directly on the linux framebuffer (no x-Windows). We now have to physically rotate the display 180 degrees. How do I get my Qt application to rotate so it doesn't appear upside down? I saw reference to using the following option: -platform linuxfb:fb=/dev/fb0:rotation:180 However, the rotation option seems to be ignored. Using Qt 5.9.2 on Ubuntu server 16.04.6 回答1: You could handle it on application level. With QML thats easy, but with QWidgets the