Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - additional libs needed for Qt - my list: (5 Items)
   
additional libs needed for Qt - my list  
Here is the list of additional libs I put into my system to run Qt. Surely helpful if you are building your own!

libcrypto.so.2
libfontconfig.so.1
libfreetype.so.1
libiconv.so.1
libicudata.so.49
libicui18n.so.49
libicuuc.so.49
libpps.so.1
libslog2.so.1
libssl.so.2
libxml2.so.1
libz.so.2

Note that some of those libs are quite large. Following the "memory is cheap nowadays" approach, no one seems to care 
which libs are really needed and how big they are.

Additionally, Qt itself is inconsistent linking to C++ libs: you need libcpp.so.5 AND libcpp.so.4 AND libcpp-ne.so.5. 
But who am I to disagree? ;-)

Hope this helps,

- Malte
Re: additional libs needed for Qt - my list  
I'm currently working on an updated version of the platform notes for Qt on QNX which contains a section about this. 
Feel free to comment:

https://codereview.qt-project.org/90653

I think I've got all of them as on your list except libz. libpps and libslog2 seem to be optional, since if they are not
 there, Qt's configure will disable according options. Need to check though...
RE: additional libs needed for Qt - my list  
Wow, looks great, good work!

> -----Original Message-----
> From: Vladimir Minenko [mailto:community-noreply@qnx.com]
> Sent: Tuesday, August 05, 2014 12:08 PM
> To: general-qt
> Subject: Re: additional libs needed for Qt - my list
> 
> I'm currently working on an updated version of the platform notes for Qt
> on QNX which contains a section about this. Feel free to comment:
> 
> https://codereview.qt-project.org/90653
> 
> I think I've got all of them as on your list except libz. libpps and
> libslog2 seem to be optional, since if they are not there, Qt's
> configure will disable according options. Need to check though...
> 
> 
> 
> _______________________________________________
> 
> Qt General
> http://community.qnx.com/sf/go/post111305
> To cancel your subscription to this discussion, please e-mail general-
> qt-unsubscribe@community.qnx.com
Re: additional libs needed for Qt - my list  
On 08/05/2014 11:57 AM, Malte Mundt wrote:
> Note that some of those libs are quite large. Following the "memory is cheap nowadays" approach, no one seems to care 
which libs are really needed and how big they are.
>
> Additionally, Qt itself is inconsistent linking to C++ libs: you need libcpp.so.5 AND libcpp.so.4 AND libcpp-ne.so.5. 
But who am I to disagree?;-)

Which 3rd party libraries are needed by Qt can be controlled via Qt's 
configure script or via DEFINE statements given to configure. Feel free 
to read the help page of Qt's configure script ("configure -help") to 
find out how to remove some of the dependencies, in case you are 
building Qt on your own.

Could you please elaborate on why you think "no one seems to care which 
libs are really needed and how big they are"? Which libs do you think we 
could get rid of?

Peter

RE: additional libs needed for Qt - my list  
> Which 3rd party libraries are needed by Qt can be controlled via Qt's
> configure script or via DEFINE statements given to configure. Feel free
> to read the help page of Qt's configure script ("configure -help") to
> find out how to remove some of the dependencies, in case you are
> building Qt on your own.

It's good to know that this is possible. I hope it works. :)

> Could you please elaborate on why you think "no one seems to care which
> libs are really needed and how big they are"? Which libs do you think we
> could get rid of?

The multiple variants of the cpp lib could be reduced to one variant, ideally the smallest/fastest one. ;) And what 
about libicu & friends? A whopping 20 MB - for what? Well, my mistake... I come from a QNX Photon enviroment where 
everything fitted into 4 MB. :)

And finally, what about static linking for some libs are only required by one single Qt component (libiconv maybe?)? 
Static linking would only bring in the functions really required (I assume that platform specific support for NextStep, 
included in libiconv, is not really needed by Qt?)

Cheers,

- Malte