You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, June 16th 2016, 7:03am

VNC: rotated touchscreen input with multiple monitor settings

Hello,
I'm developing an embedded application that works on a linux board using QT 4.8.5. To view it correctly I have to rotate the screen because it is mounted vertically on the board. I obtained this settings the QWS_DISPLAY variable as following:

Source code

1
2
export QWS_DEPTH=24
export QWS_DISPLAY=Transformed:Rot90


Now I need to control it from remote with a vnc connection, to see the application correctly I have to set a multi monitor to have the screen of the vnc on the original orientation and the embedded screen rotated by 90°, therefore I modified the QWS_DISPLAY variable as following:

Source code

1
2
export QWS_DEPTH=24
export QWS_DISPLAY="Multi: VNC:size=576x720:0  Transformed:Rot90:1"


With these settings the visualization is good both on the client and on the display, the inputs on the VNC client works fine, but on the touchscreen display the inputs are rotated by 90°.
How can I set QWS_DISPLAY to fix it?