Hi friends

I have been trying to add a library into my project. My project file looks like this :

Qt Code:
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3.  
  4. TARGET = sdk2
  5. TEMPLATE = app
  6.  
  7.  
  8.  
  9. SOURCES += main.cpp\
  10. mainwindow.cpp
  11.  
  12. HEADERS += mainwindow.h \
  13. ../../../../../SDKstudy/Runtime5.1/include/fgrab_struct.h \
  14. ../../../../../SDKstudy/Runtime5.1/include/fgrab_prototyp.h \
  15. ../../../../../SDKstudy/Runtime5.1/include/fgrab_define.h
  16.  
  17. INCLUDEPATH += $$PWD/../../../../../SDKstudy/Runtime5.1\include
  18. DEPENDPATH += $$PWD/../../../../../SDKstudy/Runtime5.1\include
  19.  
  20.  
  21. INCLUDEPATH += C:\Users\Alok\SDKstudy\Runtime5.1\dll\mE4AD1-CL
  22. DEPENDPATH += C:\Users\Alok\SDKstudy\Runtime5.1\dll\mE4AD1-CL
  23.  
  24.  
  25. FORMS += mainwindow.ui
  26.  
  27.  
  28.  
  29. LIBS += -L$$PWD/../../../../../SDKstudy/Runtime5.1/lib/visualc2005_amd64/ -lfglib5
  30.  
  31. INCLUDEPATH += $$PWD/../../../../../SDKstudy/Runtime5.1/lib/visualc2005_amd64
  32. DEPENDPATH += $$PWD/../../../../../SDKstudy/Runtime5.1/lib/visualc2005_amd64
To copy to clipboard, switch view to plain text mode 

When i try to run the code i get the following error

main.obj:-1: error: LNK2019: unresolved external symbol _Fg_Init referenced in function _main


Can you please help me resolve this.



Many thanks

Regards
Alok