OSX QT Based OpenGL Window