[vtk-developers] QVTKInteractor, "Do not delete object" warning
pat marion
pat.marion at kitware.com
Wed Mar 18 20:06:34 EDT 2009
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
More information about the vtk-developers
mailing list