Commit 4a674320 authored by Krupcale, Matthew's avatar Krupcale, Matthew
Browse files

radixwidgets: add support for VTK 9

Add support for building with VTK 9. QVTKOpenGLWidget is deprecated since VTK 9
and is now only a wrapper for QVTKOpenGLStereoWidget [1]. Thus, use the preferred
and versatile QVTKOpenGLNativeWidget [2] instead for VTK_MAJOR_VERSION >= 8.

 * radixwidgets/vtkchartwidget.hh: include appropriate
   QVTKOpenGL{,Native}Widget.h header and create typedef QVTKWidget_t based on
   VTK version
 * radixwidgets/examples/ likewise.
 * radixwidgets/examples/ use QVTKWidget_t
 * radixwidgets/ likewise.

parent 28729700
Pipeline #160573 passed with stages
in 19 minutes and 11 seconds