Hi everyone,

i've started programming (or trying it) a week ago with QT Creator 1.2.1 based on QT 4.5.3 32bit on a Windows SP3, i runed configure.exe on the qt command promt, i had no problems compiling examples or simple programs, but now i have to continue with someone elses work, and there begins my problem.

The program uses an Aviutils h & cpp with some structs and functions,and this Aviutils.cpp has an #include <vfw.h> .

Finally, when i try to build de project i recive this error



Qt Code:
  1. ./release\AviUtils.o:AviUtils.cpp:(.text+0xd): undefined reference to `AVIFileInit@0'
  2. ./release\AviUtils.o:AviUtils.cpp:(.text+0x51): undefined reference to `AVIFileOpenW@16'
  3. ./release\AviUtils.o:AviUtils.cpp:(.text+0xe5): undefined reference to `AVIFileExit@0'
  4. ./release\AviUtils.o:AviUtils.cpp:(.text+0x14a): undefined reference to `AVIFileExit@0'
  5. .
  6. .
  7. .
To copy to clipboard, switch view to plain text mode 

I tried adding to de .pro file
Qt Code:
  1. win32:LIBS += -L \
  2. C:\QT\2009.04\mingw\lib\libvfw32.a
To copy to clipboard, switch view to plain text mode 

I set on Tools->Options->CMake = C:\Qt\2009.04\mingw\bin\mingw32-g++.exe
There are serveral .exe files inside that folder but i tried many of them with the same result.

i've readed many problems that could have the same solution but... nothing worked...

I think the problem is that the program doesnt find de "cpp" of vfw.h wich is somthing like a dynamic library that maybe i dont know how to link it to the program....

Can any body help me?