Hi Community,
I'm working on i.MX6 Quad and build OS image via Yocto Project 2.0.
I build my root file system without Xserver.
I run my application which is designed with QT by executing "./application -platform eglfs".
First to mention, I could rotate console by command "echo 1 > /sys/class/graphics/fbcon/rotate".
This only rotate my console but not my application.
How can I rotate my application?
I also try to
export QT_QPA_EGLFS_ROTATION=90
and run my application by this command
./application -platform eglfs
However it sill not working!
Did I miss anything?
Thanks in Advanced!
do you need to rotate the full screen? if yes, can try to use xrandr, the command is like:xrandr -o left:
Joan Xie 留言:
do you need to rotate the full screen? if yes, can try to use xrandr, the command is like:xrandr -o left:
Yes, I'm trying to rotate full screen.
But here is the problem that I am not using X server in my root file system.
As I'm using eglfs, I have to close X server to use it.
Is there any other way to achieve it?