Yeah...-d32 should probably be in there. Its a long story, but, needless to
say, it would be nice if the qtjambi mac tarballs worked out of the box.

Basically, jambi + mac + 64bit = no.  So, forcing 32bit fixes the problem.
 It would be cool to have 64bit jambi, after all, 4GB of memory is like $25
now, but, for the most part you don't even need it.

If you have time, you could submit a small patch for qtjambi.sh.

-Matt


On Tue, Oct 13, 2009 at 11:33 AM, Uwe Dauernheim <[email protected]> wrote:

> Thanks  Matt,
> your instruction ideas did the job. -XstartOnFirstThread I had already as
> argument. But not -d32. That did the trick.
> Is this -d32 flag something that should be in the instructions given
> online? Or is it an obvious thing to do? It feels like it is related to Snow
> Leopards 64bit or more the 64bit Java implementation.
>
> /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/
>
>
>
> Am 13.10.2009 um 03:46 schrieb Matt. C.:
>
> 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
>
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to