[vtk-developers] Adding PySide compatibility to python binding

HadiM marelo64 at gmail.com
Wed May 11 21:26:17 EDT 2011


Hi all,

I would like to notice you than VTK python binding works very well
with PySide (http://www.pyside.org/). Unfortunately, VTK binding try
only to import PyQt in
./Wrapping/Python/vtk/qt4/QVTKRenderWindowInteractor.py.

So I made a little patch, which when PyQt module import failed, it's
try to import PySide module. It's probably not very clean to do it
that way but it works... If you dont want to integrate this patch in
next release, do you know when the PySide compatibility is planned ?

Thanks,

--
Hadrien Mary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adding-PySide-support.patch
Type: application/octet-stream
Size: 834 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110512/149dc7ab/attachment-0001.obj>


More information about the vtk-developers mailing list