Results 1 to 3 of 3

Thread: Strange External Library error

  1. #1
    Join Date
    Dec 2012
    Posts
    17
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Strange External Library error

    Hi Friends

    I have been using a lot of external libraries lately, and i usually dont have a problem working with them. However, I am working with one of the IR camera's SDK and this is the problem I face :

    The library for some reason runs perfectly alright on Microsoft Visual C++ Express Edition 2008, but fails to run on Qt 4.8.4. Both of them uses the same msvc compiler. I have no idea where I am going wrong.

    I get LNK2019 Linker error : Unresolved external symbols

    Please Help

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Strange External Library error

    google for unresolved externals. This is not a Qt programming issue.

    http://qt-project.org/doc/qt-4.8/qma...ect-files.html Declaring Other Libraries section.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Re: Strange External Library error

    Try to add lib dependency by this way: 1) right click on your project in qtcreator 2) go to add library 3) add external library

Similar Threads

  1. Qt Creator How to add an external .a library in Qt Creator project via GUI?
    By DIMEDROLL in forum Qt Tools
    Replies: 1
    Last Post: 7th January 2012, 07:11
  2. Using external ANSI C library
    By npascual in forum Qt Programming
    Replies: 2
    Last Post: 5th May 2011, 12:02
  3. Problem with link of external Library
    By navratill in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2011, 08:18
  4. how to link external library in qt linux?
    By qtlinuxnewbie in forum Qt Programming
    Replies: 2
    Last Post: 5th March 2010, 09:11
  5. Adding an external Library
    By afflictedd2 in forum Qt Programming
    Replies: 1
    Last Post: 13th December 2008, 05:51

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.