This makes no sense to me.

I finally narrow down where the problem occurs.

First thing I did was to edit the qmake.conf by adding this line
QMAKE_LFLAGS = -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc

then, I did was
configure -static -release -no-exceptions

Everything went well and completes everything.

Finally when I do,
mingw32-make sub-src

That when the similar error shows up and never completes the build

Here is a snippet of the error.

collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\..\..\bin\moc.exe] Error 1
mingw32-make[2]: Leaving directory `c:/Qt/2010.01/qt/src/tools/moc'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `c:/Qt/2010.01/qt/src/tools/moc'
mingw32-make: *** [sub-moc-sub_src_target_ordered] Error 2


I don't think it's the installation problem because I reinstalled it several times already but with the same results.

All I want is to make my application static without any dependencies of any dll files.

I am following this tutorial:
http://wiki.qtcentre.org/index.php?t..._Qt_on_Windows

Any suggestion or is just me who is get this error? Did anyone create a app that is static before?

Thank You,
Deshi