How do I rotate LVDS display 90d with Qt5 Widgets on mx6 (OpenGL ES)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How do I rotate LVDS display 90d with Qt5 Widgets on mx6 (OpenGL ES)

2,136 次查看
ottob
Contributor IV

Hi There,

We have a 480x800 LCD Display that we would like to use in landscape mode with gstreamer for background video and Qt5 Widgets for the UI. Rotating the video is straightforward by passing rotate=270 to the mfw_v4lsink element, however we have not been able to rotate the Qt5 Widget UI. It is my understanding that rotation is typically handled by the framebuffer and set through the sysfs interface, but that does not appear to work.

/sys/devices/platform/mxc_sdc_fb.0/graphics/fb0/rotate

Are there any solutions to this ?

Thanks in advance,

/Otto

标签 (4)
0 回复数