Results 1 to 2 of 2

Thread: Nested links on different static libraries

  1. #1
    Join Date
    Feb 2010
    Posts
    64
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default Nested links on different static libraries

    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

  2. #2
    Join Date
    Feb 2010
    Posts
    64
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Nested links on different static libraries

    Any idea?

    Thanks

Similar Threads

  1. Problem when linking with own static libraries
    By herveT in forum Qt Programming
    Replies: 4
    Last Post: 6th May 2009, 08:23
  2. Building application with static Qt libraries
    By nedlab in forum Installation and Deployment
    Replies: 1
    Last Post: 28th December 2008, 20:07
  3. Creating Static libraries in Qt/Mac
    By nareshqt in forum Qt Programming
    Replies: 0
    Last Post: 2nd May 2008, 11:45
  4. having both static and dynamic libraries?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 7th May 2007, 07:33
  5. static objects in libraries
    By Rawk in forum Qt Programming
    Replies: 3
    Last Post: 16th January 2007, 19:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.