Returns the OpenGL context used by the view.
- macOS 10.5–10.15Deprecated
This context as a read-only object . Do not attempt to change any of its settings. If you subclass
QCView so that you can perform custom OpenGL drawing, you’ll need to use this method to retrieve the view’s OpenGL context.