The 2D Painting example shows how QPainter and QGLWidget can be used together to display accelerated 2D graphics on supported hardware.
ios,opengl,painting
opengl/2dpainting/main.cpp
The Cube OpenGL ES 2.0 example shows how to write mouse rotateable textured 3D cube using OpenGL ES 2.0 with Qt. It shows how to handle polygon geometries efficiently and how to write simple vertex and fragment shader for programmable graphics pipeline. In addition it shows how to use quaternions for representing 3D object orientation.
es,opengl,cube
opengl/cube/main.cpp
The Hello GL2 example demonstrates the basic use of the OpenGL-related classes provided with Qt.
hello,opengl,gl2
opengl/hellogl2/main.cpp
The Textures example demonstrates the use of Qt's image classes as textures in applications that use both OpenGL and Qt to display graphics.
ios,opengl,textures
opengl/textures/main.cpp