I installed Qt 4.3.1 as follows:

./configure -static -release -no-qt3support -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff -nomake demos -nomake examples

make
su
make install

I can create Qt programs but using QGLWidget gives an error message during compiling. It seems
that the include files for QtOpenGL are not installed in /usr/local/Trolltech/Qt-4.3.1/include.

In my opinion this is weird because according to the output of "./configure --help" openGL is installed by default.

Does anybody know what went wrong here?