Ok, I recompiled the project in Linux and I can see the rotating cube and texture without having the extra widget. Should I file a bug report to Qt about this issue?

To recap,
I have a class GLWidget, derived from QGLWidget, which is instantiated in the main function. The only thing GLWidget does is load a texture and draws a rotating cube with that texture. This example works in Linux. But in Windows, I cannot see the cube or texture unless I comment out the glRotatef commands. It does work though if you instatiate GLWidget inside another QWidget. I am using Windows XP, I will recompile this code at home on a Windows Vista to see if it just on XP.