Qt-jambi-interest Archive, April 2007
Eclipse crashes whenever I click on a qt gui file
Message 1 in thread
Hi all,
Eclipse always crashes immediately when I try to open a gui file in it.
nils@nx7010:~$ eclipse
/usr/bin/java: symbol lookup error:
/opt/eclipse/plugins/com.trolltech.qtdesigner.linux.x86_0.0.4/lib/libqtdesigner.so:
undefined symbol:
_ZN20QEventDispatcherGlibC2EP13_GMainContextP7QObject
Thx for ideas and help.
Nils
Message 2 in thread
I had this problem. Have you tried adding the QT Jambi lib and include dirs to your $LD_LIBRARY_PATH? Also, you have added the QT Jambi jars to eclipse's classpath info? I think it's Preferences->Qt Jambi->Browse... and pick the folder of the installation. I think there's a Validate button in there, too, that verifies the install...
Josh
--
[ signature omitted ]
Message 3 in thread
I configured Eclipse, location of the qtjambi installation is
verified, classpath is set and the path of the native libs.. Also i
can run programs that use qtjambi without problems ..
But what might be the problem is that I run Ubuntu feisty and that
some of the libs (glibs or the qtlibs shipped with the distro) maybe
cause this problem..
Nils
Message 4 in thread
Hello, Nils.
Nils wrote:
> But what might be the problem is that I run Ubuntu feisty and that
> some of the libs (glibs or the qtlibs shipped with the distro) maybe
> cause this problem..
This sounds like the correct analysis. We've heard about a few cases of
similar problems, and the error message you are getting indicates that
Eclipse is linking against the wrong Qt libraries, as the symbol stated
as missing was added for Qt 4.3. Are older Qt 4 libraries present in
your LD_LIBRARY_PATH? If so, make sure that the directory containing
the Qt libraries shipped with Qt Jambi (path/to/jambi/lib) is set first
in the LD_LIBRARY_PATH variable.
In the next version of the integration we will be using rpath to avoid
this problem. This should make sure that only the correct libraries are
loaded.
-- Eskil