Jean Pierre Charalambos wrote:
> thanks for the tip. I added #include <GL/gl.h> to my global.h. For "core" do 
> you mean the QtCore module? Didn't work with it (I also added the other Qt 
> modules like in the generatoraxample).
>   

I'm not sure why that didn't work, but I'm glad you found a solution =)

> Another question: Is it possible to change the java class name? Seems like 
> the 
> typesystem documentation doesn't tell anything about it (nor the 
> generatorexample). I have a namespace: qglviewer, and tags of the form:
> <object-type name="qglviewer::Camera" />
> and thus the generator produces qglviewer_Camera.java. I'd prefer Camera.java.
>   

Yes, this feature seems to be accidentally omitted from the 
documentation, but you can use the "java-name" attribute. Like this:

    <object-type name="qglviewer:Camera" java-name="Camera" />

-- Eskil



_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to