[vtkusers] about vtk python bindings and Qt

Clinton Stimpson clinton at elemtech.com
Thu Sep 16 11:43:22 EDT 2010


Then we need some more information to help you.
What platform?
What version of Qt, PyQt, Python?

Clint

On Thursday, September 16, 2010 09:33:37 am Nicola Creati wrote:
> VTK_USE_GUISUPPORT is ON in my configuration.
> 
> Nicola
> 
> Clinton Stimpson wrote:
> > Also be sure VTK_USE_GUISUPPORT is on.
> > 
> > Clint
> > 
> > On Thursday, September 16, 2010 08:20:35 am Nicola Creati wrote:
> >> Hello,
> >> I got today the last VTK by git and compiled using the
> >> VTK_WRAP_PYTHON_SIP, VTK_WRAP_PYTHON, VTK_USE_QT but none of the
> >> GUISupport Python test works (TestQVTKWidget.py and 
> >> TestQVTKWidget2.py):
> >> 
> >> ======================================================================
> >> ERROR: testQVTKWidget (__main__.TestQVTKWidget)
> >> ----------------------------------------------------------------------
> >> 
> >> Traceback (most recent call last):
> >>   File "TestQVTKWidget.py", line 13, in testQVTKWidget
> >>   
> >>     w2 = vtk.QVTKWidget()
> >> 
> >> AttributeError: 'module' object has no attribute 'QVTKWidget'
> >> 
> >> ----------------------------------------------------------------------
> >> 
> >> QVTKWidget is missing.
> >> Is there some other particular switch I have to set in the compilation?
> >> Thanks.
> >> 
> >> Nicola
> >> 
> >> Clinton Stimpson wrote:
> >>> I've not tried it, but it should work because the ParentChanged
> >>> notification is implemented, whereas it isn't for
> >>> QVTKRenderWindowInteractor.
> >>> 
> >>> Clint
> >>> 
> >>> On Sep 16, 2010, at 8:02 AM, Lic. José M. Rodriguez Bacallao wrote:
> >>>> one pronlem that I have had with the QVTKRenderWindowInteractor is
> >>>> that I can't use it with an MDI application in PyQt4, this is solved
> >>>> with this bindings?
> >>>> 
> >>>> On 9/15/10, Clinton Stimpson <clinton at elemtech.com> wrote:
> >>>>> Feel free to keep it on the list.
> >>>>> 
> >>>>> The pyqt+vtk bindings are quite light.
> >>>>> As for stability, it looks OK to me when using the examples and tests
> >>>>> that are
> >>>>> already in VTK.
> >>>>> 
> >>>>> Clint
> >>>>> 
> >>>>> On Wednesday, September 15, 2010 02:42:12 pm Lic. José M. Rodriguez
> >>>>> Bacallao
> >>>>> 
> >>>>> wrote:
> >>>>>> so, I will mail to Clinton Stimpson  to some questions, thanks for
> >>>>>> all.
> >>>>>> 
> >>>>>> On 9/15/10, David Gobbi <david.gobbi at gmail.com> wrote:
> >>>>>>> On Wed, Sep 15, 2010 at 2:20 PM, Lic. José M. Rodriguez Bacallao
> >>>>>>> 
> >>>>>>> <jmrbcu at gmail.com> wrote:
> >>>>>>>> ok, thanks, for all, one last question before I leave, how stable
> >>>>>>>> are the pyqt+vtk bindings, how is memory consumption, etc?
> >>>>>>> 
> >>>>>>> It's new code, so YMMV.  I've built it but I haven't used it yet.
> >>>>>>> Clinton Stimpson is the author.
> >>>>>>> 
> >>>>>>>   David
> >>>> 
> >>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
> >>>> por profesionales
> >>>> -----------------------------------------------------------------
> >>> 
> >>> _______________________________________________
> >>> 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
> >>> 
> >>> Follow this link to subscribe/unsubscribe:
> >>> http://www.vtk.org/mailman/listinfo/vtkusers
> > 
> > _______________________________________________
> > 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
> > 
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list