X11 and OpenGL

  • 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:

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

  • 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.

  • 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());

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.