I have similar problem to described here http://www.qtcentre.org/forum/f-qwt-...005-23037.html but with MINGW. I execute following from cmd:

qmake qwt.pro

C:\Qt\qwt-5.2.0>mingw32-make
cd src\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/Qt/qwt-5.2.0/src'
mingw32-make -f Makefile.Release
mingw32-make[2]: Entering directory `C:/Qt/qwt-5.2.0/src'
g++ -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -s
hared -Wl,--out-implib,..\lib\libqwt5.a -o ..\lib\qwt5.dll object_script.qwt.Release -L"c:\Qt\2009.
03\qt\lib" obj\qwt_resource_res.o -lQtDesigner -lQtScript -lQtXml -lQtGui -lgdi32 -lcomdlg32 -loleau
t32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladv
api32 -lws2_32
C:\Qt\2009.03\mingw\bin\..\lib\gcc\mingw32\3.4.5\. .\..\..\..\mingw32\bin\ld.exe: cannot find -lQtDes
igner
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\lib\qwt5.dll] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/qwt-5.2.0/src'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/qwt-5.2.0/src'
mingw32-make: *** [sub-src-make_default] Error 2

C:\Qt\qwt-5.2.0>

QT 2009.03 is installed in C:\qt\2009.03\ (static compilation!)

I edited qwtconfig.pri file as following:

unix {
INSTALLBASE = /usr/local/qwt-5.2.0
}

win32 {
INSTALLBASE = C:\Qt\qwt-5.2.0
}

target.path = $$INSTALLBASE/lib
headers.path = $$INSTALLBASE/include
doc.path = $$INSTALLBASE/doc

INCLUDEPATH += C:\Qt\2009.03\qt\include\QtDesigner
CONFIG += designer plugin
TARGET = $$qtLibraryTarget($$TARGET)
TEMPLATE = lib
INSTALLS += target

and added C:\Qt\2009.03\mingw\bin;C:\Qt\2009.03\qt\bin;C:\Qt \CMake 2.6\bin;C:\Qt\2009.03\qt\lib to PATH.

I asked for help on QWT Mailing list but no one can help me

If anyone have any idea what to do with this problem, please write!