Hi,

I am drawing a 3D object using QGLWidget. It is working properly on windows but when I tried it on Mac OS it is not showing me my object. It just displays the window.

While investigating this issue, I found that initializeGL() is getting called whenever a widget needs to be redrawn. I think that it is because of change in context.

Can you tell me when context changes on mac os x? Or how to create and set a proper context for mac os x?

Please let me know as early as possible because I am facing this problem from last 2 weeks.

Thanks in advance.

Regards,
Sandip