Closed yurivict closed 1 year ago
Well looking into the vtk 9.2 release notes confirms that vtk has made some API changes. I'm not sure why a library this big does stuff like this. But I guess checking for all such API changes will require some work. Until then, QCSXCAD does not work with vtk >=9.2
Does it work with older vtk aswell? And down to which version of vtk? Otherwise it will need an ugly #ifdef switch...
My guess is that it doesn't work with older VTK versions.
I added this patch in order to update VTK to 9.2.2 on FreeBSD. But if you need to support multiple VTK versions you need to put ugly ifdefs. The change occurred between 9.1.0 and 9.2.2
All release tags are listed here.
renderWindow
and setRenderWindow
have been added in 9.0(rc) only, and the semantically equivalent GetRenderWindow
/SetRenderWindow
have been deprecated at the same time. Thats unfortunately a quite short time window.
According to https://repology.org/project/vtk/badges, all current distributions have VTK 9.
From all the distributions above, only openSUSE packages (Q)CSXCAD.
@thliebig - is it really worth to keep up VTK 7 and 8 support?