<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I am trying to use VTK with Qt Designer and python bindings.</font>
<br>
<br><font size=2 face="sans-serif">First pb :</font>
<br><font size=2 face="sans-serif">When I create a QVTKWidget in Qt designer, compile the form with pyuic, python cannot find the QVTKWidget.</font>
<br><font size=2 face="sans-serif">When looking into the python wrapped files, it should be a QVTKRenderWidget.</font>
<br>
<br><font size=2 face="sans-serif">Second pb : </font>
<br><font size=2 face="sans-serif">I manually modify QVTKWidget into QVTKRenderWidget in the .ui or in the .py generated file, and python is happy now, until it tries to actually create the widget.</font>
<br><font size=2 face="sans-serif">in the file Wrapping/Python/vtk/qt/QVTKRenderWidget.py, line 106 : &quot;apply(QWidget.__init__, (self,parent,name) + args, kw)&quot;</font>
<br><font size=2 face="sans-serif">the apply function is deprecated. replacing it by QWidget.__init__.(self,parent,name) works, but this is really dirty...</font>
<br>
<br><font size=2 face="sans-serif">Is there a solution to use QVTK with Qt Designer without modifying the created python files?</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br><font size=2 face="sans-serif">Stephane</font>