I am using Qt 4.7.0. I have an application I would like to test another machine before I proceed much further. I am building on a Windows 7 machine and the target is also a Windows 7 machine.

I found plenty of posts about this and while there are some variations there does seem to be a generally agreed upon process. However, I am getting stuck early on.

Following this thread (http://qt-project.org/forums/viewthread/12304/) I downloaded a Qt 4.7 "source package" from the archive at http://qt-project.org/downloads. The package was "qt-win-opensource-4.7.0-mingw.exe".

I went ahead and installed the package in its own directory (c:\StaticQt) to keep it separate from my SDK installation.

From the command prompt I navigate to c:\StaticQt and execute the command "configure -static -release -no-exceptions". It goes through the prompts about using open source and license agreement. It then proceeds to build and appears to be okay. However after several seconds I get:
ls/qlocale.cpp
C:\StaticQt/src/corelib/tools/qlocale.cpp: In function 'char* qdtoa(double, int,
int, int*, int*, char**, char**)':
C:\StaticQt/src/corelib/tools/qlocale.cpp:6628:14: error: '_clear87' was not dec
lared in this scope
C:\StaticQt/src/corelib/tools/qlocale.cpp:6629:43: error: '_control87' was not d
eclared in this scope
mingw32-make: *** [qlocale.o] Error 1
Building qmake failed, return code 2

Any insight would be appreciated.