Set hasStencilBuffer property.
If set to true the widget will allocate and enable a stencil buffer for the target framebuffer.
Set hasStencilBuffer property.