Hi all,

I'm relative newbee in QtDeveloppement with c++ on windows.

I' m working on project with integration of videoInput library and Qt4 gui together, but i have some pbm to include this lib in the .pro file for compiling :
I'm using mingw32 and Qt4.43.
this is mi simple .pro file :


Qt Code:
  1. TEMPLATE = app
  2. TARGET =
  3. DEPENDPATH += .
  4.  
  5. # Input
  6. HEADERS += webcamapp.h
  7. FORMS += winCam.ui
  8. SOURCES += main.cpp webcamapp.cpp
  9.  
  10. INCLUDEPATH += "C:\Program Files\videoInput01995\compiledLib\compiledByDevCpp\include"
  11. LIBS += -L"C:\Program Files\videoInput01995\compiledLib\compiledByDevCpp"
  12.  
  13. LIBS += -videoInputLib.a
To copy to clipboard, switch view to plain text mode 

i'm testing with -lvideoInputLib to but the lib is not find...!!!

the library is in an directory : videoInputLib.a with an other dir for include .h

If i use this library in codeblocks with the same mingw without Qt4 project there is no pbm....

is there a special command in .pro file to include lib in .a format and not .lib ?
(i can import some other lib if it's in this format from other library).

the make process return this error :

Qt Code:
  1. mingw32-make -f Makefile.Debug
  2. mingw32-make[1]: Entering directory `D:/production/worklab/cpp/progetTest/webcam
  3. QTV'
  4. g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
  5. oc -mthreads -Wl -Wl,-subsystem,windows -o debug\webcamQTV.exe debug/main.o debu
  6. g/webcamapp.o -L"c:\Qt\4.4.3\lib" -lmingw32 -lqtmaind "-LC:\Program Files\video
  7. Input01995\compiledLib\compiledByDevCpp" -videoInputLib.a -lQtGuid4 -lQtCored4
  8. g++: unrecognized option `-videoInputLib.a'
  9. debug/webcamapp.o: In function `_ZN9WebCamAppC2Ev':
  10. D:/production/worklab/cpp/progetTest/webcamQTV/webcamapp.cpp:15: undefined refer
  11. ence to `videoInput::listDevices(bool)'
  12. debug/webcamapp.o: In function `_ZN9WebCamAppC1Ev':
  13. D:/production/worklab/cpp/progetTest/webcamQTV/webcamapp.cpp:15: undefined refer
  14. ence to `videoInput::listDevices(bool)'
  15. collect2: ld returned 1 exit status
  16. mingw32-make[1]: *** [debug\webcamQTV.exe] Error 1
  17. mingw32-make[1]: Leaving directory `D:/production/worklab/cpp/progetTest/webcamQ
  18. TV'
  19. mingw32-make: *** [debug] Error 2
To copy to clipboard, switch view to plain text mode 

Sorry for this poor indication, but i reallyy need to resolve this pb m .

thank's a lot.