I want to use VTK 7.0.0 and Qt5 via its Python Wrappers.
In C++ I normally use QVTKWidget2 instead of QVTKWidget, in order to work around
this problem rendering with intel i915 driver on Linux
Some examples on VTK+Qt+Python suggest to use the class QVTKRenderWindowInteractor, but I encounter the same rendering problem.
Digging in the source tree of VTK, I can see examples using QVTKWidget2 from Python, but I cannot find the class vtk.QVTKWidget2 after compiling VTK with the Python wrappers enabled.
Does anybody know how to compile the wrapper for QVTKWidget2, or how to work around the i915 rendering problem with QVTKRenderWindowInteractor?
Many thanks
QVTKWidget2class is in src/GUISupport/QtOpenGL, and shows that is a subclass ofQGLWidget. So you will need OpenGL installed in order to compile it all properly.