[Qt-jambi-interest] installation problems qtjambi plugin for eclipse

Eskil Abrahamsen Blomfeldt eblomfel at trolltech.com
Mon Feb 9 11:11:57 CET 2009


Wim-Jan Hilgenbos wrote:
> Hi all,
> 
> I'm having trouble getting the eclipse plugin to work.
> 
> I've been trying to upgrade my qtjambi to qtjambi-linux32-gpl-4.4.3_01 
> (from 4.3.5)
> 
> - I removed the old eclipse plugin by removing all qt* packages in the eclipse 
> plugin dir.
> - Installed qtjambi-eclipse-integration-linux32-4.4.3_01.tar.gz as per 
> instructions.
> 
> After installation the path to qtjambi needs to be set. This fails because the 
> plugin expects qtjambi.jar and gets  qtjambi-linux32-gcc-4.4.3_01.jar
> symlinking satisfies the validate method, but my projects still give a build
> path error:
> 
> -------- [error msg] ---------
> Severity and Description	Path	Resource	Location	Creation Time	Id
> Project 'jawel-gui' is missing required 
> library: '/usr/local/qtjambi-linux32-gpl-4.4.3_01/qtjambi.jar'		jawel-gui	
> Build path	1233094078461	10551
> ---------------------------------

Hi,

It looks to me like the old version of the plugin is making a mess of 
things, because that .jar file has been renamed to contain the version 
number of Qt Jambi.

Could you try running

	eclipse -clean

and see if this fixes the problem? In general, Eclipse requires you to 
run with that argument whenever you install new plugins so it can reset 
its cache.

Here's some hints on how you can make sure Eclipse always cleans its 
cache before startup:

	http://www.eclipsezone.com/eclipse/forums/t61566.html


> I noticed the new plugin package misses all kinds of shared libraries:
> plugins/com.trolltech.qtdesigner.linux.x86_1.0.5/lib/libqtdesigner.so
> plugins/com.trolltech.qtdesigner.linux.x86_1.0.5/lib/libqtdesigner.so.4
> plugins/com.trolltech.qtdesigner.linux.x86_1.0.5/lib/libqtdesigner.so.4.3
> plugins/com.trolltech.qtdesigner.linux.x86_1.0.5/lib/libqtdesigner.so.4.3.5
> plugins/com.trolltech.qtdesigner.linux.x86_1.0.5/META-INF/MANIFEST.MF
> plugins/com.trolltech.qt.linux.x86_4.3.5/lib/libQtCore.so.4
> plugins/com.trolltech.qt.linux.x86_4.3.5/lib/libQtDesigner.so.4
> plugins/com.trolltech.qt.linux.x86_4.3.5/lib/libQtDesignerComponents.so.4
> plugins/com.trolltech.qt.linux.x86_4.3.5/lib/libQtAssistantClient.so.4
> plugins/com.trolltech.qt.linux.x86_4.3.5/lib/libQtGui.so.4
> plugins/com.trolltech.qt.linux.x86_4.3.5/lib/libQtXml.so.4
> plugins/com.trolltech.qt.linux.x86_4.3.5/lib/libQtScript.so.4
> plugins/com.trolltech.qtdesignerplugins/libJambiCustomWidget.so
> plugins/com.trolltech.qtdesignerplugins/libJambiLanguage.so

To avoid dependency issues, these files are now contained in and loaded 
from the Qt Jambi package, so this should not be an issue.

-- Eskil




More information about the Qt-jambi-interest mailing list