OpenGL Box Example

Qt 3.0.5

Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

OpenGL Box Example

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.


Copyright © 2002 TrolltechTrademarks
Qt version 3.0.5