Building QT small issue

Hello,

I am some kind stuck for few days, googling everything possible.
I try to cross-compile Qt 4.8.5 with gcc-linaro-arm-linux-gnueabihf-4.8-2013.11. The configure step completes well but make always fails with:

c:/program files/linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.11/bin/…/arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/crt1.o: In function _start': :(.text+0x28): undefined reference to main’./tmp\obj\release_shared\qthread_unix.obj: In function QThreadPrivate::createEventDispatcher(QThreadData*)' :qthread_unix.cpp:(.text+0x2e4): undefined reference to QEventDispatcherGlib::QEventDispatcherGlib(QObject*)’
qthread_unix.cpp:(.text+0x374): undefined reference to QEventDispatcherGlib::versionSupported()' ./tmp\obj\release_shared\qbytearray.obj: In function qUncompress(unsigned charconst*, int)’
:qbytearray.cpp:(.text+0x4f0): undefined reference to `uncompress’
and so on…

Actually the make starts with corelib, compiles all files ad when try to link -o …\lib\libcorelib.a it fails.
It looks like the linker tries to make a app object instead of library.

My qmake.conf is as following:

`

Try to add -qt-zlib to your configure flags.