PDA

View Full Version : Nested links on different static libraries



locke
4th August 2010, 18:09
Hi guys,

This is a bit theoretical question. Im coding a library A that uses functions of library B. Both of them are static ones. Now a new app MyApp wants to use the library A.

The problem is that, to use library A, I need to include the path and the library B in the .pro file of MyApp.. I thought that, if a static library A uses methods of static library B, then when you build A, all the methods from B that you need are included in A, so there is no need to refer B any more.

If A uses methods of 100 libraries, do I need then to include the path and .a of all those libraries? It doesnt make so much sense to me, but...

Thanks

locke
9th August 2010, 10:47
Any idea?

Thanks