с такой ошибкой:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o ..\..\bin\qmlviewer.exe object
_script.qmlviewer.Release -L"c:\Qt\2010.05\qt\lib" -L"c:\Qt\2010.05\qt\lib" -lm
ingw32 -lqtmain -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtO
penGL -lmysql -lglu32 -lopengl32 -lQtGui -lgdi32 -lcomdlg32 -loleaut32 -limm32 -
lwinmm -lwinspool -lmsimg32 -lQtNetwork -lQtCore -lkernel32 -luser32 -lshell32 -
luuid -lole32 -ladvapi32 -lws2_32 -Lc:\MySQL\lib\opt
c:\Qt\2010.05\qt\lib/libQtDeclarative.a(qdeclarativevaluetype.o):qdeclarativeval
uetype.cpp:(.text+0x4c8): undefined reference to `_imp___Z13qt_defaultDpiv'
c:\Qt\2010.05\qt\lib/libQtDeclarative.a(qdeclarativevaluetype.o):qdeclarativeval
uetype.cpp:(.text+0x552): undefined reference to `_imp___Z13qt_defaultDpiv'
collect2: ld returned 1 exit status
mingw32-make[3]: *** [..\..\bin\qmlviewer.exe] Error 1