Hi to all!

I have a Qt project using Qwt API. Once I try to compile this project, I get following error:
Qt Code:
  1. Running build steps for project PresernMkI... Starting: C:/Qt/2009.03/qt/bin/qmake.exe C:/Documents and Settings/markofr/Desktop/PresernMkI/PresernMkI.pro -spec win32-g++ -r
  2. Exited with code 0.
  3. Starting: C:/Qt/2009.03/mingw/bin/mingw32-make.exe -w
  4. mingw32-make: Entering directory `C:/Documents and Settings/markofr/Desktop/PresernMkI'
  5. C:/Qt/2009.03/mingw/bin/mingw32-make -f Makefile.Debug
  6. mingw32-make[1]: Entering directory `C:/Documents and Settings/markofr/Desktop/PresernMkI'
  7. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\2009.03\qt\include\QtCore" -I"..\..\..\..\Qt\2009.03\qt\include\QtGui" -I"..\..\..\..\Qt\2009.03\qt\include" -I"includes" -I"..\..\..\..\qwt\src" -I"..\..\..\..\Qt\2009.03\qt\include\ActiveQt" -I"debug" -I"..\..\..\..\Qt\2009.03\qt\mkspecs\win32-g++" -o debug\main.o src\main.cpp
  8. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\2009.03\qt\include\QtCore" -I"..\..\..\..\Qt\2009.03\qt\include\QtGui" -I"..\..\..\..\Qt\2009.03\qt\include" -I"includes" -I"..\..\..\..\qwt\src" -I"..\..\..\..\Qt\2009.03\qt\include\ActiveQt" -I"debug" -I"..\..\..\..\Qt\2009.03\qt\mkspecs\win32-g++" -o debug\mainwindow.o src\mainwindow.cpp
  9. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\2009.03\qt\include\QtCore" -I"..\..\..\..\Qt\2009.03\qt\include\QtGui" -I"..\..\..\..\Qt\2009.03\qt\include" -I"includes" -I"..\..\..\..\qwt\src" -I"..\..\..\..\Qt\2009.03\qt\include\ActiveQt" -I"debug" -I"..\..\..\..\Qt\2009.03\qt\mkspecs\win32-g++" -o debug\centralwidget.o src\centralwidget.cpp
  10. C:/Qt/2009.03/qt/bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\2009.03\qt\include\QtCore" -I"..\..\..\..\Qt\2009.03\qt\include\QtGui" -I"..\..\..\..\Qt\2009.03\qt\include" -I"includes" -I"..\..\..\..\qwt\src" -I"..\..\..\..\Qt\2009.03\qt\include\ActiveQt" -I"debug" -I"..\..\..\..\Qt\2009.03\qt\mkspecs\win32-g++" -D__GNUC__ -DWIN32 includes\mainwindow.h -o debug\moc_mainwindow.cpp
  11. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\2009.03\qt\include\QtCore" -I"..\..\..\..\Qt\2009.03\qt\include\QtGui" -I"..\..\..\..\Qt\2009.03\qt\include" -I"includes" -I"..\..\..\..\qwt\src" -I"..\..\..\..\Qt\2009.03\qt\include\ActiveQt" -I"debug" -I"..\..\..\..\Qt\2009.03\qt\mkspecs\win32-g++" -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp
  12. g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\PresernMkI.exe debug/main.o debug/mainwindow.o debug/centralwidget.o debug/moc_mainwindow.o -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind -Llib -lqwtd5.dll -lQtGuid4 -lQtCored4
  13. mingw32-make[1]: Leaving directory `C:/Documents and Settings/markofr/Desktop/PresernMkI'
  14. mingw32-make: Leaving directory `C:/Documents and Settings/markofr/Desktop/PresernMkI'
  15. C:\Qt\2009.03\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lqwtd5.dll
  16. collect2: ld returned 1 exit status
  17. mingw32-make[1]: *** [debug\PresernMkI.exe] Error 1
  18. mingw32-make: *** [debug] Error 2
  19. Exited with code 2.
  20. Error while building project PresernMkI
  21. When executing build step 'Make'
To copy to clipboard, switch view to plain text mode 
Here is my .pro file:
Qt Code:
  1. # -------------------------------------------------
  2. # Project created by QtCreator 2009-09-28T13:58:55
  3. # -------------------------------------------------
  4. TARGET = PresernMkI
  5. TEMPLATE = app
  6. INCLUDEPATH = includes \
  7. /qwt/src
  8. SOURCES += src/main.cpp \
  9. src/mainwindow.cpp \
  10. src/centralwidget.cpp
  11. HEADERS += includes/mainwindow.h \
  12. includes/centralwidget.h
  13. LIBS+=-Llib -lqwtd5.dll
To copy to clipboard, switch view to plain text mode 
Here is my project's dir structure:
Qt Code:
  1. c:\Documents and Settings\markofr\Desktop\PresernMkI>tree /f
  2. Folder PATH listing
  3. Volume serial number is 88AD-BE5C
  4. C:.
  5. │ Makefile
  6. │ Makefile.Debug
  7. │ Makefile.Release
  8. │ PresernMkI.pro
  9. │ PresernMkI.pro.user
  10. │
  11. ├───debug
  12. │ centralwidget.o
  13. │ main.o
  14. │ mainwindow.o
  15. │ moc_mainwindow.cpp
  16. │ moc_mainwindow.o
  17. │
  18. ├───includes
  19. │ centralwidget.h
  20. │ mainwindow.h
  21. │
  22. ├───lib
  23. │ libqwtd5.a
  24. │ qwtd5.dll
  25. │
  26. ├───release
  27. ├───src
  28. │ centralwidget.cpp
  29. │ main.cpp
  30. │ mainwindow.cpp
  31. │
  32. └───ui
  33.  
  34. c:\Documents and Settings\markofr\Desktop\PresernMkI>
To copy to clipboard, switch view to plain text mode 
So, why linker does not find qwt dll file?


Sincerely,
Marko