Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] Upside down GUI on Raspberry Pi
Forum Updated to NodeBB v4.3 + New Features

[Solved] Upside down GUI on Raspberry Pi

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    igorsol
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        igorsol
        wrote on last edited by
        #3

        Thank you. Problem solved.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved