Hi.

I am trying to make a debian lenny package of qtjambi. It seems that I have it 
compiled ok, but now i am trying to make wrapper script for jambi-designer.

Could anybody explain, how jambi-designer works?

I have compiled and installed jambi this way:

# build qt-x11
cd qt-x11-opensource-src-4.5.1/
export QTDIR=`pwd`
echo "yes" | ./configure -opensource -prefix `pwd` -opensource -nomake demos 
-nomake examples
make -j4

# build jambi
cd ../qt-jambi
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
export PATH=$QTDIR/bin:$PATH
ant


.. and install to /tmp/foo myself. Here is destination dir tree:

/tmp/foo/
|-- bin
|   |-- jambi-designer  # my script
|   `-- juic
|-- lib
|   |-- ant-qtjambi.jar
|   |-- designer                        # i am using desinger which was built 
in qt-x11, im not sure if this is ok
|   |-- qtjambi-4.5.2_01.jar
|   |-- qtjambi-designer-4.5.2_01.jar
|   |-- qtjambi-examples-4.5.2_01.jar
|   `-- qtjambi-linux64-gcc-4.5.2_01.jar
`-- plugins
    |-- designer
    |   |-- libJambiCustomWidget.so
    |   `-- libJambiLanguage.so
    `-- qtjambi
        |-- qtjambi_examples.xml
        `-- qtjambi_widgets.xml



... This is jambi-designer run script I have made:

CP=:/tmp/foo/lib/ant-qtjambi.jar:/tmp/foo/lib/qtjambi-4.5.2_01.jar:/tmp/foo/lib/qtjambi-designer-4.5.2_01.jar:/tmp/foo/lib/qtjambi-examples-4.5.2_01.jar:/tmp/foo/lib/qtjambi-linux64-gcc-4.5.2_01.jar
LD_LIBRARY_PATH=/tmp/foo/lib/ QT_PLUGIN_PATH=/tmp/foo/plugins CLASSPATH=$CP 
/tmp/foo/lib/designer

Designer has started, but it is qt-cpp designer ( open file dialog has filter 
".ui", not ".jui" ).

So I am now lost, because I don't know, where "designer" from qt-jambi official 
binary distribution comes from.

Any idea?

Thx

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

Reply via email to