Hi,

I've been using QtJambi for over half a year now. I like it a lot, when I
can get it to work properly. Unfortunately I'm running into all kinds of
problems whenever I'm trying to deploy, move the project to another system,
etc etc.

What is not helpful is the fact that the official QtJambi package (from
qtjambi.org) is outdated (0.4.7 beta 2) , and in some ways problematic,
such as SQL which refuses to work. I'm really not sure where I should get
QtJambi from; there are numerous PPA's on the internet, some of them even
sharing the same name, all offering different revisions but not making it
clear which, etc etc.

The version that seems to work the best for me is the one I've installed
from here >
http://ppa.launchpad.net/qtjambi-community/libqtjambi-snapshots/ubuntu,
though, while it has a build for Ubuntu 12.10, it does not work anymore
after upgrading;

run:
java.lang.RuntimeException: Loading library failed, progress so far:
No 'qtjambi-deployment.xml' found in classpath, loading libraries via
'java.library.path'
Loading library: 'libQtCore.so.4'...
 - using 'java.library.path'

    at
com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:599)
    at
com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:451)
    at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:314)
    at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:310)
    at
com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:64)
    at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60)
    at com.ss.core.Main.<clinit>(Main.java:17)
Caused by: java.lang.RuntimeException: Library 'libQtCore.so.4' was not
found in
'java.library.path=/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib'
    at
com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:657)
    at
com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:594)
    ... 6 more
java.lang.RuntimeException: Loading library failed, progress so far:
No 'qtjambi-deployment.xml' found in classpath, loading libraries via
'java.library.path'
Loading library: 'libQtCore.so.4'...
 - using 'java.library.path'
Loading library: 'libQtCore.so.4'...
 - using 'java.library.path'

    at
com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:599)
    at
com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:451)
    at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:314)
    at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:310)
    at
com.trolltech.qt.gui.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:8)
    at
com.trolltech.qt.gui.QDesktopServices.<clinit>(QDesktopServices.java:11)
    at com.ss.core.Main.<clinit>(Main.java:17)
Caused by: java.lang.RuntimeException: Library 'libQtCore.so.4' was not
found in
'java.library.path=/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib'
    at
com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:657)
    at
com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:594)
    ... 6 more
Exception in thread "main" java.lang.UnsatisfiedLinkError:
com.trolltech.qt.gui.QDesktopServices.__qt_storageLocation_StandardLocation(I)Ljava/lang/String;
    at
com.trolltech.qt.gui.QDesktopServices.__qt_storageLocation_StandardLocation(Native
Method)
    at
com.trolltech.qt.gui.QDesktopServices.storageLocation(QDesktopServices.java:78)
    at com.ss.core.Main.<clinit>(Main.java:17)
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)

This installs a bunch of files >>

file:///usr/share/java/qtjambi-4.8.1.jar
file:///usr/share/java/qtjambi-designer-4.8.1.jar
file:///usr/share/java/qtjambi-designer-src.jar
file:///usr/share/java/qtjambi-designer.jar
file:///usr/share/java/qtjambi-examples-4.8.1.jar
file:///usr/share/java/qtjambi-examples-src.jar
file:///usr/share/java/qtjambi-examples.jar
file:///usr/share/java/qtjambi-src.jar
file:///usr/share/java/qtjambi-util-src.jar
file:///usr/share/java/qtjambi-util.jar
file:///usr/share/java/qtjambi.jar

So, what version am I using? 4.7.4? 4.8.1? Which of these files should I
add to my project? Until now I have just added qtjambi.jar and nothing
else, which seems to work fine, though maybe I need to add something else
if I would like to deploy my app? Is the error above something I can fix,
or is it a problem with the build?

So very confused. I hope somebody is willing to help because it's getting
frustrating.

Thanks for reading.

Regards

Ralf
_______________________________________________
Qt-jambi-interest mailing list
Qt-jambi-interest@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest

Reply via email to