Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, July 2007
qt4 + eclipse


Message 1 in thread

Hi all!

Let me first say that this project is nice. The default code is much nicer and 
much more 'default' than the result of Kdevelop's 'New Qt Project' wizard. 


The the problem I have now is:  java.lang.UnsatisfiedLinkError: no 
qtcppdesigner in java.library.path

I extracted qt-eclipse-integration-linux.x86-1.0.0-rc1.tar.gz to /usr/share/ 
and Qt integration works except I get the error above when I try to use 
Designer to edit a form. 

idea? follow-up questions? 

thanks for your help, 

eah

--
 [ signature omitted ] 

Message 2 in thread

Hi,

as we discussed last week on this list, you must follow these
steps to get a fully running qt intergration in eclipse:

1. Install a new Eclipse 3.2 or higher with CDT 3.2 or higher
   (for example Eclipse EUROPA)
   in a completely new (and empty) directory (e.g. /usr/local/eclipse)
2. Extract the contents of the qt integration package exactly
   into the new installation dir (here: /usr/local/eclipse)
3. Start eclipse for the first time

Your funny way to extract the qt integration way outside the
eclipse dir makes me wonder how it could run in any way.
So please follow exactly the above steps - then you can use
all parts of the qt stuff right in eclipse.

Best Regards,
Christian


--
 [ signature omitted ] 

Message 3 in thread

On Saturday 21 July 2007 04:55:44 Christian Dähn wrote:
> Hi,
>
> as we discussed last week on this list, you must follow these
> steps to get a fully running qt intergration in eclipse:
>
> 1. Install a new Eclipse 3.2 or higher with CDT 3.2 or higher
>    (for example Eclipse EUROPA)
>    in a completely new (and empty) directory (e.g. /usr/local/eclipse)
> 2. Extract the contents of the qt integration package exactly
>    into the new installation dir (here: /usr/local/eclipse)
> 3. Start eclipse for the first time
>
> Your funny way to extract the qt integration way outside the
> eclipse dir makes me wonder how it could run in any way.
> So please follow exactly the above steps - then you can use
> all parts of the qt stuff right in eclipse.
>
> Best Regards,
> Christian
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and information:
> http://lists.trolltech.com/qt-interest/

Thanks for the installtions reminder. i'm not sure how my way is "funny" 
except that i'm installing in /usr/share/eclipse and not /usr/local/eclipse. 
the reason I did so was: 

eah@laptop:/usr/share/eclipse$ ls                                                                                                                                         
about_files  about.html  eclipse.ini  epl-v10.html  features  links  
notice.html  plugins  readme  startup.jar

I figured that was where the fedora rpms installed eclipse. 

btw: eclipse is 3.2.2-8 and cdt is 3.1.2-4. (maybe cdt needs upgrading) 

thanks, 

eah

--
 [ signature omitted ] 

Message 4 in thread

On Saturday 21 July 2007 04:55:44 Christian Dähn wrote:
> Hi,
>
> as we discussed last week on this list, you must follow these
> steps to get a fully running qt intergration in eclipse:
>
> 1. Install a new Eclipse 3.2 or higher with CDT 3.2 or higher
>    (for example Eclipse EUROPA)
>    in a completely new (and empty) directory (e.g. /usr/local/eclipse)
> 2. Extract the contents of the qt integration package exactly
>    into the new installation dir (here: /usr/local/eclipse)
> 3. Start eclipse for the first time
>
> Your funny way to extract the qt integration way outside the
> eclipse dir makes me wonder how it could run in any way.
> So please follow exactly the above steps - then you can use
> all parts of the qt stuff right in eclipse.
>
> Best Regards,
> Christian
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and information:
> http://lists.trolltech.com/qt-interest/

just to follow up: 

I uninstalled the integration from /usr/share/eclipse and placed it 
in /usr/lib64//eclipse (the instructions mention a pre-packaged eclipse might 
live there. I still get an error about java.library.path not finding the qt 
designer plugin. more specifically, 

java.lang.UnsatisfiedLinkError: no qtcppdesigner in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
	at java.lang.System.loadLibrary(System.java:1030)
	at com.trolltech.qtcppdesigner.views.WidgetBoxW.<clinit>(WidgetBoxW.java:21)
	at 
com.trolltech.qtcppdesigner.views.WidgetBoxView.createPartControl(WidgetBoxView.java:16)
	at 
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332)
	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
	at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
	at 
org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:3915)
	at 
org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2929)
	at 
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
	at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2873)
	at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2821)
	at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1697)
	at 
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1437)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1695)
	at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1666)
	at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1545)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1489)
	at 
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
	at 
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:1101)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
	at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

Is the fact I run java 1.6 any concern? 

thanks, 

eah

--
 [ signature omitted ] 

Message 5 in thread

Hi,

you might be right concerning the java version - I only tested
Java 1.4 and 1.5 - both worked solid.

Further I'm wondering about the installation dirs - why not just
doing it the simple way and install it into /usr/local ?

ciao,
Christian


--
 [ signature omitted ]