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

Eskil Abrahamsen Blomfeldt eblomfel at trolltech.com
Tue Aug 4 12:27:01 CEST 2009


Erwin Mueller wrote:
> How should I then deploy the finished application on the end user system? 
> Should I compile Qt Jambi with all possible Qt-styles (Oxygen, Phase, Plastic, 
> Cleanlooks, etc) and deploy it the Qt Jambi way? I can't ask the user to 
> compile Qt Jambi against his Qt4 system libraries, can I?
>   
Hi, Erwin.

As I see it, there are three ways of doing this. You either have to 
bundle the binaries that you plan to use, or the Linux distribution will 
have to distribute Qt Jambi as a prebuilt package which is guaranteed to 
work with the other libraries on the system. The third way is to check 
how the Qt versions are configured on the different Linux distributions. 
You might get away with building Qt Jambi against a Qt version which has 
a typical build configuration, and then distributing this with your 
application. That would probably give you compatibility on at least a 
great part of the Linux distributions out there.

> If I ask the user to compile Qt Jambi against his Qt4 system libraries, then 
> the user need first to install all necessary -dev packages?
>   

Yes, anything required to build Qt Jambi will have to be installed on 
the platform where you plan to build the package.

-- Eskil






More information about the Qt-jambi-interest mailing list