[Qt-jambi-interest] Qt, Jambi and Generator question

Gunnar Sletta gunnar at trolltech.com
Tue Feb 17 14:47:13 CET 2009


Tom Miller wrote:
> Also, in the page
> http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/qtjambi-installation.html#building-qt-for-qt-jambi
> I read about using -D QT_JAMBI_BUILD -no-mmx -no-sse -no-sse2 -no-3dnow 

These compile options are highly recommended. The mmx/sse things are 
there because the linux 1.5 jvm has a bug where it doesn't properly 
align the C stack to 16 bytes which causes mmx instructions to crash, 
hence we need to disable it when running java apps.

> as compile options, and here:
> http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/qtjambi-installation.html#platform-notes
> I read about using 32 bit JVM to compile Jambi on 64 bit Linux.
> 
> These instructions are also in the install.html file that comes with the 
> Qt Jambi 4.4.3 source package.
> 
> So are you saying that all of the 32 bit stuff on 64 bit Linux is no 
> longer necessary?

If you use a 64-bit linux distro with the 64-bit virtual machine from 
Sun, it should work. That comment is no longer valid.

> And is it necessary or not to build Jambi from source in order to use it 
> for generating c++/java bindings?

You will always have to to build qt and jambi from source when doing 
bindings to be sure of binary compatibility.

-
Gunnar



More information about the Qt-jambi-interest mailing list