Hello,
I am using TI-SDK-7 which has Qt 4.8 libraries in it.
I am developing a Qt application which can run on my target board 7” LCD display.
By default application runs on landscape mode.
But my LCD is mounted on portrait mode.
So, I had to rotate my screen using QWS options to view it on portrait mode.
I use the option:
export QWS_DISPLAY="Transformed:Rot270"
Now, I would like to demonstrate my application on the target using VNC client to my management.
So, I am trying to run the Qt application on multi server mode using QWS option:
export QWS_DISPLAY="Multi: VNC:size=480x640:0 Transformed:Rot270:LinuxFb:size=480x640:1 Transformed:Rot270 :2"
With this, I could start my VNC client with the server port.
I can see the screen well in the VNC client. And also, I can operate the UI from VNC client very well.
Problem is that, when the Qt application has been run on multi server mode and operate the UI on the target board using touch inputs,
I see the weird behavior. I see that, the touch inputs are still as in “landscape mode”. Touch inputs are not rotated along with the screen.
I have been trying hard for this problem since many days.
Later, I came across a Qt bug which exactly says about that.
https://bugreports.qt.io/browse/QTBUG-12290
Someone have suggested to try with the patch. But even with that, I have not got any success. It is still same.
I have been trying different QWS options to see if anything can work for me.
At the last, I have tried the QWS option:
export QWS_DISPLAY="VNC:Transformed:Rot270"
With this setting,
In the LCD UI, touch works good, screen is transformed in a right way. It’s all good.
In the VNC client, I see that the screen was not rotated. So, I had used RealVNC client and rotated the screen to 270 by myself. With this, screen looks good touch works great. But the problem is, I see there is a lag in screen refreshing. Meaning, after I click a button, I see the immediate change in LCD UI but not in VNC client screen. It take huge time for the refresh.
I have no idea on what’s happening in the behind.
Please help me to fix this issue.
Thank you very much!
Best Regards,
Kumara
