[vtk-developers] [VTK 0013154]: VTK Qt Python wrapper unusable under Windows

Mantis Bug Tracker mantis at public.kitware.com
Mon May 7 11:29:48 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=13154 
====================================================================== 
Reported By:                Félix C. Morency
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13154
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       crash 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-05-07 11:29 EDT
Last Modified:              2012-05-07 11:29 EDT
====================================================================== 
Summary:                    VTK Qt Python wrapper unusable under Windows
Description: 
The toy example in [1] doesn't work under Windows (tested with PySide
v1.1.0, PyQt4 v4.9.1, VTK 6.0.0 commit
6214dd0542d64a66c8a94797e938f1b15da747d2, Python 2.7.3):

The source of the problem is located in QVTKRenderWindowInteractor.py:158

       self._RenderWindow.SetWindowInfo(str(int(self.winId())))

With PySide, the winId() method returns a PyCObject. The bug is known
and has been reported (see [2]). With PyQt4, the winId() method
returns a 'sip.voidptr' that needs to be handled accordingly.

[1]: https://gist.github.com/2596951
[2]:
https://bugreports.qt-project.org/browse/PYSIDE-46?focusedCommentId=177492#comment-177492
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-07 11:29 Félix C. MorencyNew Issue                                    
======================================================================




More information about the vtk-developers mailing list