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. X11 and OpenGL

X11 and OpenGL

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 2.2k 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.
  • G Offline
    G Offline
    goli
    wrote on last edited by
    #1

    How can I build Qt for X11 with OpenGL support?
    I have Hardware acceleration on my device, but when i config the qt(qml) application to work with opengl
    i can't see any improvment with the performance... it become more slower performance.

    i use the command:
    @QApplication::setGraphicsSystem("opengl");@

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

      Did you try the hellogl_es sample? What device is this?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goli
        wrote on last edited by
        #3

        My device is Freescale IMX53 .
        This example use the opengl functions for paint on the screen. I want to run a regular qt / qml application using the hardware acceleration of gpu and opengl.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          william
          wrote on last edited by
          #4

          See this article "Qt for Embedded Linux and OpenGL":http://qt-project.org/doc/qt-4.8/qt-embeddedlinux-opengl.html
          I think this code snippet would be OK.
          @ QGraphicsView view(&scene);
          view.setViewport(new QGLWidget());
          view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
          view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
          view.setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
          view.setFrameStyle(0);
          view.showFullScreen();@

          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