Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, May 2007
Re: [Fwd: Qt Eclipse Integration problems]


Message 1 in thread

> Hi all,
>

Hi Ralf,

> I just installed the Qt Eclipse integration but cannot get it to  
> work properly.
>
> If I want to start something like the Qt Action Editor, I get the  
> following message:
>
> Unable to create view: /xxx/server/u/rneuber1/org.eclipse.osgi/ 
> bundles/138/1/.cp/lib/libqtdesigner.so: libstdc++.so.6: Kann die  
> Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht  
> gefunden
>

Hm, it is strange that he says that he is not able to find libstdc+ 
+,... is it installed in one of the system lib directories (like /usr/ 
lib)?

I would understand if he couldn't find e.g. libQt(Core|Gui|etc),  
though, because it seems that you run eclipse with a non-standard  
configuration directory.
Unfortunately we don't handle this properly at the moment.

Workaround:

a) Use a local eclipse installation, where you have write access to  
<installpath>/eclipse/configuration
and run eclipse either without a -configuration commandline option or  
explicitely with
eclipse -configuration <installpath>/eclipse/configuration

or
b) Setting LD_LIBRARY_PATH to <installpath>/eclipse/plugins/ 
com.trolltech.qt.linux.x86_4.3.0/lib *should* also work, since there  
are the libraries that libqtdesigner.so needs, though you might get  
problems if you have other Qt 4 libraries installed.


> Looks like a problem with LD_LIBRARY_PATH or so. Do I have to set  
> pathes manually?
>
> Qt designer cannot be launched as well:
>
> "An error has occurred. See error log for more details".
>
> Where do I find this "error log"?
>

You find the error log in eclipse under Window -> Show View -> Other - 
 > PDE Runtime -> Error Log

Best regards,
Eike
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 2 in thread

> 
> Hm, it is strange that he says that he is not able to find libstdc+ 
> +,... is it installed in one of the system lib directories (like /usr/ 
> lib)?
> 

Well, I am on SuSE Linux 9.3, and there I only have libstdc++.so.5,
but eclipse is looking for libstdc++.so.6.....

I think this is the problem. 


> You find the error log in eclipse under Window -> Show View -> Other - 
>  > PDE Runtime -> Error Log

it seems to be the same reason:

java.lang.UnsatisfiedLinkError: /ford/log00002/u/rneuber1/org.eclipse.osgi/bundles/138/1/.cp/lib/libqtdesigner.so: libstdc++.so.6: Kann die Shared-Object-Datei nicht Ãffnen: Datei oder Verzeichnis nicht gefunden
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1495)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at
com.trolltech.qtdesigner.views.FormWindowW.<clinit>(FormWindowW.java:22)
at
com.trolltech.qtdesigner.editors.UiEditor.createPartControl(UiEditor.java:117)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)


\Ralf

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx