diff -ru soqt-1.4.1~/src/Inventor/Qt/SoQtComponent.cpp soqt-1.4.1/src/Inventor/Qt/SoQtComponent.cpp --- soqt-1.4.1~/src/Inventor/Qt/SoQtComponent.cpp 2009-02-25 07:55:02.000000000 -0800 +++ soqt-1.4.1/src/Inventor/Qt/SoQtComponent.cpp 2009-02-25 07:56:36.000000000 -0800 @@ -100,10 +100,17 @@ this->parent->removeEventFilter(this); } +#if COIN_MAJOR_VERSION >= 3 +static void delete_dict_value(SbDict::Key key, void * value) +{ + delete (QCursor *)value; +} +#else // COIN_MAJOR_VERSION >= 3 static void delete_dict_value(unsigned long key, void * value) { delete (QCursor *)value; } +#endif // COIN_MAJOR_VERSION < 3 void SoQtComponentP::atexit_cleanup()