Public bug reported:

It is impossible to use VTK and PyQt together as of Ubuntu 17.04.

python-vtk6 includes bindings for Qt4, even if they are deprecated. Qt5
bindings should be included instead (Debian already switched, according
to their source repository).

Since the Qt4 bindings are deprecated, there is a known issue: even a
minimal PyQt4 example segfaults just by adding the import of
vtk.qt4.QVTKRenderWindowInteractor (modified source attached). This is
most likely not going to be fixed (see
https://gitlab.kitware.com/vtk/vtk/issues/16009).

Please note that in that issue is reported that using python-vtk (which
uses VTK 5.10) the problem does not appear. However, that package is no
longer present in Zesty. So as of today, it is impossible to use VTK
together with PyQt in Zesty.

Please update the bindings to use Qt5.

** Affects: vtk6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722197

Title:
  Segfault when using python-vtk6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1722197/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to