[Solved] Upside down GUI on Raspberry Pi
-
Hello,
I compiled Qt 5 libraries for Raspberry Pi using instructions at http://qt-project.org/wiki/RaspberryPi_Beginners_guide and at http://qt-project.org/wiki/Qt5OnRaspberryPi. After that i successfully compiled for RPi and executed /qtdeclarative/demos/samegame example.
I have an application which is based on QMainWindow widget. This application works on Windows XP, Windows Mobile, Ubuntu. I successfully compiled it for Raspberry Pi. But when i execute it on Raspberry Pi its GUI displayed flipped upside down. So window's menu displayed in lower-left corner of my display. At the same time mouse events interact with GUI when mouse cursor is in the upper-left corner of the display. So if i want to click menu item displayed in the lower-left corner then i need to click in the upper-left corner.
Is this bug in Qt5 implementation on Raspberry Pi or I missed some option?
-
See http://lists.qt-project.org/pipermail/development/2012-August/005909.html.
https://codereview.qt-project.org/33772 has been already merged, so a <code>git pull</code> might solve your problem.
-
Thank you. Problem solved.