Sets the required version of OpenGL to be used when creating the context for the widget.
This function must be called before the area has been realized.
the major version
the minor version
3.16
Sets the required version of OpenGL to be used when creating the context for the widget.
This function must be called before the area has been realized.