tag 515729 + patch
tag 515736 + patch
tag 515742 + patch
thanks

The attached patch, extracted from upstream, should fix these build
failures by using the SbDict::Key type for the key parameter to
delete_dict_value if using Coin3D 3.0 or later.

-- 
Matt                                                 http://ftbfs.org/
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()

Reply via email to