Results 1 to 1 of 1

Thread: curious build/link issue including qwt in existing project [RESOLVED]

  1. #1
    Join Date
    Oct 2011
    Posts
    27
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation curious build/link issue including qwt in existing project [RESOLVED]

    Hi all,

    I'm new to qwt, I've installed it and tested it successfully and that's pretty cool !

    So, I decided to include it in an existing qt project which builds and runs fine. (I need to plot curves)

    But, when I add these lines in the pro file of my project :

    QWT_LOCATION = C:/QtSDK/qwt-6.0.1
    INCLUDEPATH += $${QWT_LOCATION}/src
    LIBS = -L$${QWT_LOCATION}/lib -lqwt

    I've got errors "undefined reference to inet_addr@4" as if winsock2 wasn't found ... (also with ni488.h, a GPIB library)

    I really don't understand and really don't know where to look to resolve my problem ... so ... please help ... any ideas are welcome

    thanks in advance,
    tom.


    EDIT : SHAME ON ME !!!!!!! SO SORRY !!!!

    I was on this issue since yesterday and I missed the LIBS "=" instead of LIBS "+=" !!!!!!!

    thanks anyway
    Last edited by thomas@itest; 4th November 2011 at 15:17. Reason: resolved

Similar Threads

  1. Including GMP in Qt-Project
    By tillorgias in forum Newbie
    Replies: 3
    Last Post: 3rd July 2010, 20:55
  2. How to link an existing .exe to a DLL?
    By babygal in forum Qt Programming
    Replies: 23
    Last Post: 27th April 2010, 08:08
  3. Add existing project
    By danesh in forum Qt Programming
    Replies: 12
    Last Post: 23rd April 2009, 19:47
  4. Useless but curious compiler warning question
    By Raccoon29 in forum General Programming
    Replies: 4
    Last Post: 30th July 2008, 20:46
  5. Replies: 32
    Last Post: 30th March 2008, 20:00

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.