Qt5.2 Raspberry, how to switch framebuffer ?
-
wrote on 2 Feb 2014, 05:21 last edited by
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. -
wrote on 2 Feb 2014, 11:30 last edited by
./myapp -platform linuxfb:fb=/dev/fb1
-
wrote on 2 Feb 2014, 15:04 last edited by
thank you. It works.
1/3