[vtkusers] vtkEventQtSlotConnect not wrapped in python 2.7 + VTK6.3

David E DeMarle dave.demarle at kitware.com
Thu Feb 4 12:01:58 EST 2016


Looks like modularization in 6.0 turned off wrapping of this code. I don't
know if there was a particular reason for that.

To turn it back on, try removing the EXCLUDE_FROM_WRAPPING line in
GUISUpport/Qt/module.cmake and rebuild.

Please let the list know if that works or not.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Fri, Jan 29, 2016 at 10:41 AM, hchen <hjchen.work at gmail.com> wrote:

> Hi,
>
> I am trying to write a software using Python+Qt+VTK, and need to pass VTK
> events to Qt, but vtkEventQtSlotConnect is not wrapped in Python.
>
> I built VTK from source: VTK 6.3.0, python 2.7, cmake 3.3 (also tried cmake
> 2.8).
>
> But, when I tried to build an early version, VTK 5.10.1, using cmake 2.8, I
> can get vtkEventQtSlotConnect wrapped in python.
>
> I am guessing it might have something to do with the settings in CMakeLists
> for VTK6.3.0, but I am not familiar with cmake enough to figure it out, can
> anyone help? Thanks!
>
> Chen
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkEventQtSlotConnect-not-wrapped-in-python-2-7-VTK6-3-tp5736250.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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/20160204/dce8029f/attachment.html>


More information about the vtkusers mailing list