Package Details: qtjambi-git 4070.3952b53-3

Package Base: qtjambi-git
Description: Java bindings for the Qt C++ toolkit.
Upstream URL: http://qt-jambi.org/
Category: lib
Licenses: GPL
Conflicts: qtjambi
Provides: qtjambi=4.8.6
Submitter: philacs
Maintainer: flying-sheep
Last Packager: flying-sheep
Votes: 0
First Submitted: 2011-09-29 03:58
Last Updated: 2014-10-14 14:14

Dependencies (5)

Required by (0)

Sources

Latest Comments

Comment by flying-sheep

2014-10-16 13:47

why are the Qt people at fault here?

If anything, the Jambi people are to blamem but i wouldn’t be harsh with them.

Likely .jui files used to have other differences, but newer versions of Jambi got changed so that they work with almost regular .ui files.

Comment by lyoneel

2014-10-16 00:09

Ugly design a tag change everything, QT People are incredible...

Thanks a lot flying.

Comment by flying-sheep

2014-10-15 12:42

no problem! glad it works for you, even if it isn’t perfect.

however, there’s another way that doesn’t require all this. simply create regular .ui files and add language="jambi", there isn’t more difference…

for ui_file in *.ui; do
sed 's/<ui version="4.0"/& language="jambi"/' "$ui_file" >"${ui_file%.ui}.jui"
#rm $ui_file
done

see here: http://stackoverflow.com/questions/5774663/how-to-convert-ui-file-to-jui-file

Comment by lyoneel

2014-10-15 00:17

Well, with this command:
JAVA_HOME=/usr/lib/jvm/default CLASSPATH=/usr/share/java/qtjambi-designer-4.8.6.jar:/usr/share/java/qtjambi-4.8.6.jar LD_LIBRARY_PATH=/usr/lib:/usr/lib/jni designer-qt4

designer-qt4 throw a lot of errors, i dont do intensive test, just a basic dialog, but seems to work, now i can save in JUI format file from designer-qt4 and juic can compile it.

If i encounter more issues ill tell you, Is not perfect, but works, thanks again for fast reply.

Comment by flying-sheep

2014-10-14 14:17

i installed it, but other errors occur, like mentioned in http://redmine.smar.fi/issues/254

does it work for you?

Comment by flying-sheep

2014-10-14 12:18

i got further:

with this command line:

JAVA_HOME=/usr/lib/jvm/default CLASSPATH=/usr/share/java/qtjambi-designer-4.8.6.jar:/usr/share/java/qtjambi-4.8.6.jar LD_LIBRARY_PATH=/usr/lib:/usr/lib/jni designer-qt4

i found out that i didn’t package libcom_trolltech_tools_designer.so.1

i need to install it from build/qmake-qtjambi/lib/libcom_trolltech_tools_designer.so.1

Comment by lyoneel

2014-10-14 05:02

Well i found new clue about it, thats why cant save in "jambi" form and cant compile with juic

What IDK if this designer (designer-qt4) is the correct, qt jambi says they come with your own designer.

Output of designer-qt4

QtJambi: Exception pending in native code in file ../../../../src/cpp/designer-integration/customwidget/jambicustomwidget.cpp:279
java.lang.NoClassDefFoundError: com/trolltech/tools/designer/CustomWidgetManager
Caused by: java.lang.ClassNotFoundException: com.trolltech.tools.designer.CustomWidgetManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
QtJambi: Exception pending in native code (detected at)
QtJambi: Exception pending in native code in file ../../../src/cpp/qtjambi/qtjambi_utils.cpp:60
java.lang.NoClassDefFoundError: com/trolltech/tools/designer/ResourceBrowser
Caused by: java.lang.ClassNotFoundException: com.trolltech.tools.designer.ResourceBrowser
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
QtJambi: Exception pending in native code (detected at)
Qt Jambi: Cannot load JambiLanguagePlugin due to missing class files

__

Comment by lyoneel

2014-09-12 05:46

Ty for fast reply.

Now juic is right there, and yes designer is not complaing about plugins but IDK whats the difference between jambi libs in designer and without it.

Im getting started with jambi, thanks a lot.

Comment by flying-sheep

2014-09-08 13:39

updated, but the plugins don’t seem to contain any widgets. do i miss even more necessary files?

Comment by flying-sheep

2014-09-08 13:08

if you go to Help→Plugins, it tells you that it fails to load those because libqtjambi.so.1 is missing.

i install that to /usr/lib/jni/, and apparently it needs to be in /usr/lib/

i don’t know however if it needs to be in /usr/lib/jni as well, so i’m just creating a symbolic link /usr/lib/libqtjambi.so.1 → jni/libqtjambi.so.1

juic i forgot, but i’ll include it momentarily

Comment by lyoneel

2014-09-07 13:02

libs works correct, but i have issues with designer-qt4 it fails to load libJambi*, i fix some permissions same permissions as other plugins (-rwxr-xr-x) with no luck and nothing in google.

IDK if really is your issue.

and where is JUIC?

Comment by flying-sheep

2014-03-15 14:17

fixed.

Comment by flying-sheep

2013-03-21 17:35

i don’t know how to fix the following error:

build.xml:101: ERROR: qtjambi.core or qtjambi.core.debug property is not configured

Comment by flying-sheep

2012-08-11 11:18

well, it does work, but only if you add both /usr/lib and /usr/lib/jni to the library path.

head to https://github.com/flying-sheep/qtjambi-git-pkgbuild/issues/1 if you can help