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:
@QApplication::setGraphicsSystem("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());
view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
view.setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
view.setFrameStyle(0);
view.showFullScreen();@