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. Eglfs issuse on buildroot + RPi
QtWS25 Last Chance

Eglfs issuse on buildroot + RPi

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.4k Views
  • 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.
  • _ Offline
    _ Offline
    _Mark_
    wrote on last edited by
    #1

    Hello,
    I'm running Qt5 within a buildroot environment on RPi, without X.
    It works fine but when I use OpenGL the widget is actually rendered "behind" the console.

    I mean, running the gradient example works fine until I press the "Use opengl button". Now I only see the lateral buttons but the rendering window seems to be behind the shell I used to launch the application....

    What might lead to this odd behavior?
    Thanks
    Mark

    1 Reply Last reply
    0
    • A Offline
      A Offline
      agocs
      wrote on last edited by
      #2

      That example uses a QGLWidget combined with some other widget content. That is simply not supported properly on platforms like eglfs (which is used on the Pi too).

      For more details see http://qt-project.org/wiki/i.MX-6

      There is work on-going for a QGLWidget replacement in Qt 5.3. This solution would then be properly supported across all platforms, allowing mixing traditional widgets and GL/Quick areas.

      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