Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt5.2 Raspberry, how to switch framebuffer ?
-
Hi,
I have installed 320x240 TFT screen on my RPI. The screen configured as /dev/fb1.
By running
FRAMEBUFFER=/dev/fb0 startx
or
FRAMEBUFFER=/dev/fb1 startx
I can get X-Window on HDMI screen or 320x240 TFT screen.
Qt5.2 application is running on HDMI screen only.
I tried with no success -
./myapp -display Linuxfb:/dev/fb1:enable=1
./myapp -display directfb:/dev/fb1:2How to switch Qt5.2 application to /dev/fb1 ?
Please help.
-
./myapp -platform linuxfb:fb=/dev/fb1
-
thank you. It works.