OpenGL state errors with QVTKOpenGLWidget and vtk8.2

Hello, and welcome to the VTK community.

There are multiples QVTKOpenGLWidget example usage in GUISupport/Qt/Testing/Cxx directory.
This may help you understand how to use it.