After some digging, I've come up with a patch that cures the problem... But not with the generator itself. It's just a workaround, see below. Patch applied to master and build branch.
commit 54ea7cd92e32ab8b73d317c1672009907f920e6a Author: Francis Galiegue <[email protected]> Date: Sat Oct 17 15:50:02 2009 +0200 Fix generator's segfault with OpenGL (sort of) The primitive type GLfloat was missing an equivalent in typesystem_opengl-java.xml. Add it. While this cures the segfault, it doesn't cure the generator segfaulting itself, unfortunately :( Signed-off-by: Francis Galiegue <[email protected]> diff --git a/generator/typesystem_opengl-java.xml b/generator/typesystem_opengl-java.xml index 082f1c2..d20a0d6 100644 --- a/generator/typesystem_opengl-java.xml +++ b/generator/typesystem_opengl-java.xml @@ -8,6 +8,7 @@ <primitive-type name="GLuint" java-name="int" preferred-conversion="no" jni-name="jint"/> <primitive-type name="GLint" java-name="int" preferred-conversion="no" jni-name="jint"/> <primitive-type name="GLenum" java-name="int" preferred-conversion="no" jni-name="jint"/> + <primitive-type name="GLfloat" java-name="float" preferred-conversion="no" jni-name="jfloat"/> <value-type name="QGLColormap"> -- Francis Galiegue, [email protected] "It seems obvious [...] that at least some 'business intelligence' tools invest so much intelligence on the business side that they have nothing left for generating SQL queries" (Stéphane Faroult, in "The Art of SQL", ISBN 0-596-00894-5) _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
