Sample for adding OpenGL code in Qt