[vtkusers] VTK 6.2 and PyQt5?

Leonid Dulman leonid_dulman at yahoo.co.uk
Fri Feb 5 14:01:52 EST 2016


I use PyQt5 (WITH qT 5.6.0) AND vtk 7.0.0 IN WIN32 
All works fine
 

      From: Elvis Stansvik <elvis.stansvik at orexplore.com>
 To: VTK Users <vtkusers at vtk.org> 
 Sent: Thursday, February 4, 2016 5:16 PM
 Subject: [vtkusers] VTK 6.2 and PyQt5?
   
Hi all,

I have the same question as Alex on this list had in April last year:

   http://markmail.org/message/i3e4dxwxqravlaf3

Is it possible to use PyQt5 with VTK 6.2?

I'm on a *buntu system, and the python-vtk6 package installs the following Qt related files:

estan at newton:~$ dpkg -L python-vtk6 | grep -i qt
/usr/lib/python2.7/dist-packages/vtk/qt4
/usr/lib/python2.7/dist-packages/vtk/qt4/QVTKRenderWindowInteractor.py
/usr/lib/python2.7/dist-packages/vtk/qt4/__init__.py
/usr/lib/python2.7/dist-packages/vtk/vtkRenderingQtPython.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/vtk/vtkRenderingQt.py

ldd on the .so shows it is linking against Qt 5, but is that enough. Or must I have a QVTKRenderWindowInteractor that works with PyQt5 as well? It seems a port of that class to PyQt5 was done only 5 months ago:

   https://gitlab.kitware.com/vtk/vtk/merge_requests/101

So would not be in 6.2 :/

Are there really no software out there which uses PyQt5 + VTK and only make use of packaged versions?

Cheers,
Elvis

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160205/5955fdeb/attachment.html>


More information about the vtkusers mailing list