Results 1 to 2 of 2

Thread: How to add dependant libraries automatically.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2007
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to add dependant libraries automatically.

    Hello,

    These days I write a simple file server program based on QCoreApplication with QT4. I use other libraries like cppunit but i don't know how to add these libraries information to Makefile automatically. (adding '-lcppunit' and '-lQtNetwork' is really bothersome job)

    I guess there are some options for adding other libraries in qmake but I don't know what it is. Do I add dependant library information manually every time I 'qmake' ?

    Thanks in advance.

    Intaek
    Last edited by Intaek Lim; 19th March 2007 at 05:08. Reason: modify subject

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to add dependant libraries automatically.

    LIBS += -lcppunit
    QT += network

Similar Threads

  1. Replies: 2
    Last Post: 8th March 2007, 22:22
  2. how to add new libraries to QT
    By whoops.slo in forum Newbie
    Replies: 3
    Last Post: 12th January 2007, 11:15
  3. Qt 3.3 libraries
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 21st December 2006, 17:25
  4. Standardization on libraries
    By brcain in forum General Discussion
    Replies: 13
    Last Post: 16th August 2006, 22:56
  5. Replies: 4
    Last Post: 7th March 2006, 08:52

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
  •  
Qt is a trademark of The Qt Company.