<div dir="ltr"><br><div>Hi all,</div><div>We are working to deprecate VTK use of Qt4.</div><div><br></div><div><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/3300">https://gitlab.kitware.com/vtk/vtk/merge_requests/3300</a><br></div><div><br></div><div>After this merge request is in, VTK_QT_VERSION will be 5 by default and you'll get warnings if you switch it to 4 and use VTK with Qt4.</div><div><br></div><div>You can silence the warnings using</div><div><div>VTK_LEGACY_SILENT=ON</div></div><div><br></div><div>You can remove all legacy features using</div><div>VTK_LEGACY_REMOVE=ON<br></div><div>(You may want to do that if you compile with Qt5, to make sure you don't use by mistake Qt4 features).</div><div><br></div><div>VTK + Qt applications using Qt5 need to use QVTKOpenGLWidget instead of QVTKWidget that was used for Qt4.</div><div><a href="https://www.vtk.org/doc/nightly/html/classQVTKOpenGLWidget.html">https://www.vtk.org/doc/nightly/html/classQVTKOpenGLWidget.html</a><br></div><div><br></div><div>We converted all VTK Qt examples and the examples from VTKExamples to use QVTKOpenGLWidget.</div><div><br></div><div>Here is the pull request for VTKExamples</div><div><a href="https://github.com/lorensen/VTKExamples/pull/28">https://github.com/lorensen/VTKExamples/pull/28</a><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Dan</div><div><br></div></div>