GLUT+Qt == asking for trouble. GLUT provides making a window, some UI stuff, it's own "event system" etc. The Qt SDK from Nokia(or I guess now Digia) does NOT include GLUT, nor should it (it looks like your environment is MS-Windows).

If you are already having Qt as a dependency, why would you want to use GLUT? The ritual for using GL on Qt is roughly:

Derive from QGLWidget

Optionally implement initializeGL() to perform one-time init that requires a GL context. This is done because in Qt, the GL context is not active (or even made actually) at constructor of QGLWidget.