|Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions|
This example demonstrates how to use OpenGL in Qt.
Essentially, all you do is put your OpenGL code in a class inherited from QGLWidget. This class may then be used like any other Qt widget, including the use of signals and slots and geometry management.
See $QTDIR/examples/opengl/box for the source code.
See also OpenGL Examples.