Hello!

I am fairly new to Qt and I'm having a little trouble using the Jambi 
code generator. The generator_example worked just fine, but when I try 
to use it on other Qt examples I run into a few problems. I am trying to 
familiarize myself with the generator by first using it on one of the 
simplest Qt examples provided, "calculatorform" found in 
examples\designer\calculatorform. I've been following the generator 
example tutorial  as best I can, and have managed to generate 
CalculatorForm.java and QtJambi_LibraryInitializer.java.

It seems to me that main.cpp is left untouched by the generator; should 
it be generated as well?
If so, is there a reason the generator is skipping over it? Also I'm not 
entirely sure the CalculatorForm.java file is even being generated 
correctly (it looked pretty bare to me).

I tried to continue with the tutorial and compile the project, but this 
failed.
I suspect that I may need to update my typesystem which is currently only:

<typesystem package="com.trolltech.examples.CalculatorForm"
            default-superclass="com.trolltech.qt.QtJambiObject">

    <load-typesystem 
name=":/trolltech/generator/typesystem_core.txt"          
             generate="no" />
    <load-typesystem name=":/trolltech/generator/typesystem_gui.txt"
            generate="no" />
    <load-typesystem name=":/trolltech/generator/typesystem_xml.txt"
             generate="no" />
     <object-type name="CalculatorForm" />   
     
</typesystem>*
*
Any help that you could provide to guide me in the right direction would 
be greatly appreciated!

Best Regards,
Greg


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

Reply via email to