[Qt-jambi-interest] Using the system qt4 libs
Eskil Abrahamsen Blomfeldt
eblomfel at trolltech.com
Fri Aug 7 11:22:26 CEST 2009
Dusan Zatkovsky wrote:
>>> For us, this is made more difficult by the fact that a fair share of
>>> Linux distributions have Qt 4 pre-installed to support KDE 4, and by
>>> the fact that Qt Jambi requires certain build flags to be set to work
>>> around bugs in the JVM, which makes it binary incompatible with the
>>> standard installation of Qt.
>>>
>
> Could you explain it shortly, please? What kind of jvm bugs?
>
>
The JVM in Sun's JDK 5 on Linux has a bug causing a memory corruption if
Qt is built with SSE instructions, so when configuring Qt to use with Qt
Jambi, you need to add "-no-sse" and "-no-sse2" to avoid the bug.
Helge is absolutely right that we have not seen this bug with newer
versions of Java, so with a dependency manager the correct solution is
probably to use the system Qt version and add a dependency on Java 6.
-- Eskil
More information about the Qt-jambi-interest
mailing list