[Qt-interest] Deployment of Qt libraries in Linux

Josh jnfo-c at grauman.com
Wed Dec 9 00:07:02 CET 2009


Hello,

I am wondering about including Qt Libraries with an app I've created for 
Linux. When I download the Qt 4.6 SDK (32-bit) for linux, there are two 
different sets of libraries, one much larger than the other. I'm wondering 
what is the difference between them and which one it would be better to 
include with an executable. For example for the new 4.6 SDK here are the 
files for QtCore:

3197172 lib/libQtCore.so.4.6.0*
22295163 qt/lib/libQtCore.so.4.6.0*

I'm wondering if the larger library also includes all the other libraries 
Qt needs compiled in as well (freetype, etc.). What versions of the 
various other libraries are these libraries compiled against? If I have a 
Qt app that is only dependant on Qt, will including one of these libraries 
be sufficient for my app even if other required libraries (freetype, etc.) 
are out of date or not present on the target system? If the app is closed 
source and based on the LGPL, is it ok to include either of these 
libraries? Thanks for any/all information.

Josh



More information about the Qt-interest-old mailing list