[vtkusers] QVTKOpenGlWidget black screen and tests FAILED

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Jun 20 10:23:44 EDT 2017


> When i remove lines, display work fine :
> vtkRenderWindowInteractor with QVTKOpenGLWidget is not compatible ?

That's correct. You're better off letting QVTKOpenGLWidget create the
interactor for you. Calling
vtkSmartPointer<vtkRenderWindowInteractor>::New() will create platform
specific interactor, eg. vtkWin32RenderWindowInteractor which is not
compatible with `vtkGenericOpenGLRenderWindow` requried by
QVTKOpenGLWidget.

Utkarsh


More information about the vtkusers mailing list