[vtkusers] Deprecate Qt4
Dan Lipsa
dan.lipsa at kitware.com
Wed Oct 4 09:26:02 EDT 2017
Hi all,
We are working to deprecate VTK use of Qt4.
https://gitlab.kitware.com/vtk/vtk/merge_requests/3300
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.
You can silence the warnings using
VTK_LEGACY_SILENT=ON
You can remove all legacy features using
VTK_LEGACY_REMOVE=ON
(You may want to do that if you compile with Qt5, to make sure you don't
use by mistake Qt4 features).
VTK + Qt applications using Qt5 need to use QVTKOpenGLWidget instead
of QVTKWidget that was used for Qt4.
https://www.vtk.org/doc/nightly/html/classQVTKOpenGLWidget.html
We converted all VTK Qt examples and the examples from VTKExamples to
use QVTKOpenGLWidget.
Here is the pull request for VTKExamples
https://github.com/lorensen/VTKExamples/pull/28
Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171004/b5453b6d/attachment.html>
More information about the vtkusers
mailing list