Results 1 to 3 of 3

Thread: static and dynamic libraries linking

  1. #1
    Join Date
    Dec 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Question static and dynamic libraries linking

    Hi,

    I need to add many libraries to my project. Some of them are static (.lib) and other dynamic (dylib).
    I wrote:
    Qt Code:
    1. LIBS+= -lTKIGES \
    2. -lTKShHealing \
    3. -lTKXSBase \
    4. -lTKShapeSchema \
    5. -lFWOSPlugin \
    6. -lPTKernel \
    7. -lTKBool \
    8. -lTKCAF \
    9. ...
    10. -gui \
    11. -cells\
    12. ...
    To copy to clipboard, switch view to plain text mode 

    And my static libraries not connecting. How can I do that?
    Last edited by buddax2; 27th December 2010 at 16:49.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: static and dynamic libraries linking

    define "not connecting".

    Do you get error message? Or program doesn't run? Or?

  3. #3
    Join Date
    Dec 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: static and dynamic libraries linking

    sorry, program doesn't run

Similar Threads

  1. Static and Dynamic Libraries
    By waynew in forum Newbie
    Replies: 29
    Last Post: 1st December 2010, 03:29
  2. Qt static and dynamic linking same time to third dll
    By vishwajeet.dusane in forum Qt Programming
    Replies: 0
    Last Post: 27th July 2010, 19:56
  3. static & dynamic linking
    By mickey in forum General Programming
    Replies: 6
    Last Post: 11th June 2010, 09:57
  4. Problem when linking with own static libraries
    By herveT in forum Qt Programming
    Replies: 4
    Last Post: 6th May 2009, 09:23
  5. having both static and dynamic libraries?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 7th May 2007, 08:33

Tags for this Thread

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.