Results 1 to 3 of 3

Thread: Adding library dependencies to qmake

Hybrid View

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

    Default Re: Adding library dependencies to qmake

    Try using the TARGETDEPS variable. TARGETDEPS += ../qtshared/libqtshared.a should work.

  2. #2
    Join Date
    Mar 2008
    Location
    Colorado, USA
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Adding library dependencies to qmake

    Quote Originally Posted by wysota View Post
    Try using the TARGETDEPS variable. TARGETDEPS += ../qtshared/libqtshared.a should work.
    You would think that would work, but no luck. I get "No rule to make target ../qtshared/libqtshared.a". Maybe there is something else I need to do as well?

Similar Threads

  1. Replies: 7
    Last Post: 22nd December 2010, 08:13
  2. Replies: 4
    Last Post: 7th April 2010, 23:09
  3. how to add static library into qmake
    By Namrata in forum Qt Tools
    Replies: 1
    Last Post: 20th November 2007, 17:33
  4. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  5. Win32 qmake: building a static library
    By Amanda in forum Qt Programming
    Replies: 5
    Last Post: 8th November 2006, 19:32

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.