[vtk-developers] QVTKInteractor, "Do not delete object" warning

Clinton Stimpson clinton at elemtech.com
Thu Mar 19 00:37:00 EDT 2009


Should be fixed now.

Thanks,
Clint

/cvsroot/VTK/VTK/GUISupport/Qt/QVTKWidget.cxx,v  <--  QVTKWidget.cxx
new revision: 1.42; previous revision: 1.41


pat marion wrote:
> Hi,
>
> I develop on Ubuntu 8.10 64bit with Qt 4.4.
>
> Qt prints the following warning when QVTKInteractor deletes the QTimer
> in the method QVTKInteractor::InternalDestroyTimer:
>
> Warning: QObject: Do not delete object, 'unnamed', during its event handler!
>
> Has anyone else noticed this?  One possible fix is to use the method
> QObject::deleteLater() instead of deleting the timer.  This will
> delete the timer when control returns to Qt's event loop.
>
> Pat
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>   





More information about the vtk-developers mailing list