[Qt-jambi-interest] Using the system qt4 libs

Eskil Abrahamsen Blomfeldt eblomfel at trolltech.com
Tue Aug 4 10:20:28 CEST 2009


Erwin Mueller wrote:
> I just wonder if I can use the libQtCore, libQtGui, and so on, from my system 
> for Qt Jambi and have these in the jar archive as a fallback libraries, if on 
> an another system this libraries are not installed?
>   

Hi, Erwin.

If you want to use the system libraries to run Qt Jambi, you need to 
manually build Qt Jambi against these libraries to ensure binary 
compatibility. You can then not use Qt Jambi's method of deploying the 
libraries in .jar-files, as there are measures taken in the code to 
avoid loading libraries which are not contained in the .jar-file (e.g. 
to avoid loading system libraries which are binary incompatible with the 
Qt Jambi binaries.)

If you want to use the system libraries for deployment, you would 
typically use the regular LD_LIBRARY_PATH way of resolving libraries.

-- Eskil




More information about the Qt-jambi-interest mailing list