Uwe,

Have you tried running the examples?  I actually was getting the same error
you were but I forget how I fixed it.
qtjambi.sh will crash very noisily on mac unless you add
-XstartOnFirstThread and -d32 to the java command.

For example:
java -d32 -client -XstartOnFirstThread -cp $CP
com.trolltech.launcher.Launcher

>From eclipse, when you add the jambi jars, make sure to link the native
libraries to them, and make sure your project is using
-d32 -XstartOnFirstThread when it kicks off Java.

-Matt

In the examples, be sure to add

On Mon, Oct 12, 2009 at 8:38 AM, Uwe Dauernheim <[email protected]> wrote:

>
> Am 12.10.2009 um 17:31 schrieb Helge Fredriksen:
>
> > Francis Galiegue wrote:
> >> On Mon, Oct 12, 2009 at 2:30 PM, Uwe Dauernheim
> >> <[email protected]> wrote:
> >>
> >>> Hej,
> >>>
> >>> first of all, sorry if I'm posting in the wrong forum or directory,
> >>> I'm quite new to Qt.
> >>>
> >>> I tried to compile the HelloWebKit example for Qt Jambi in Eclipse
> >>> and
> >>> run it, and I get the following error stack: (s. below). So first I
> >>> thought it has todo with Snow Leopard, but running the example from
> >>> within the Launcher app every example works. I'm confused.
> >>>
> >>> What I did so far was:
> >>>
> >>> - Read the installation note:
> http://qt.nokia.com/doc/qtjambi-4.4/html/com/trolltech/qt/qtjambi-installation.html
> >>> - Added qtjambi-4.4.0_01.jar and qtjambi-macosx-gcc-4.5.2_01.jar to
> >>> the classpath
> > To me it seems that you are mixing 4.4 and 4.5 libraries...
> >
> > Helge
> > _______________________________________________
> > Qt-jambi-interest mailing list
> > [email protected]
> > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>
> Sorry for misleading. The version numbers for both files is 4.5.2. I
> mixed it up while copying one filename from the website and the other
> from my file system.
>
> So, this can't be the reason. (also, in the error stack printout you
> can see, that all version numbers are equal)
>
> /Uwe
>
> --
> Uwe Dauernheim
> MSc Student, Software Engineering of Distributed Systems
> Kungliga Tekniska Högskolan (KTH)
> Stockholm, Sweden
> Email: [email protected]
> Phone: +46 70-582 98 69
> Website: http://www.kreisquadratur.de/
>
>
> _______________________________________________
> Qt-jambi-interest mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to