Results 1 to 2 of 2

Thread: Link *.so library

  1. #1
    Join Date
    Jun 2007
    Posts
    11
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Link *.so library

    Hi,
    what should i put in *.pro file to link my libmylib.so library?

    Thanks a lot for help.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Link *.so library

    See qmake manual, declaring libs and LIBS variable:
    unix:LIBS += -L/path/to/lib -lmylib
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    allstar (8th July 2007)

Similar Threads

  1. Wrap a static QT library inside an XPCOM component ?
    By Paul_Xul in forum Qt Programming
    Replies: 2
    Last Post: 3rd August 2010, 07:16
  2. Replies: 4
    Last Post: 18th December 2009, 18:55
  3. Replies: 1
    Last Post: 5th March 2007, 20:50
  4. import library linking
    By bruce1007 in forum Qt Programming
    Replies: 6
    Last Post: 19th May 2006, 10:27
  5. MinGW Windows Library Search Path
    By zztop in forum Qt Programming
    Replies: 4
    Last Post: 26th March 2006, 15:18

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.