AnsweredAssumed Answered

How to rotate application in eglfs

Question asked by tsung li wang on Nov 20, 2018
Latest reply on Nov 22, 2018 by tsung li wang

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!

Outcomes