My platform is windows 7
I use last qt creator (2.5.0)
My issue is :
Qt Code:
  1. :-1: error: LNK1181: cannot open input file 'C:\libarchive\lib.obj'
To copy to clipboard, switch view to plain text mode 
My .pro is
Qt Code:
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2012-07-04T22:10:36
  4. #
  5. #-------------------------------------------------
  6.  
  7. QT -= core
  8.  
  9. QT -= gui
  10.  
  11. TARGET = libarchive
  12. CONFIG += console
  13. CONFIG -= app_bundle
  14.  
  15. LIBS += C:\libarchive\lib
  16.  
  17. LIBS += -larchive_static
  18.  
  19. INCLUDEPATH += C:\libarchive\include
  20.  
  21. TEMPLATE = app
  22.  
  23.  
  24. SOURCES += main.cpp
To copy to clipboard, switch view to plain text mode 
When move lib in project directory and comment LIBS += C:\libarchive\lib it's work
What i'm doing wrong ??