I found a workaround after experiencing the same issues described in this thread with Qt 4.8.0 Beta 1 and MinGW.
I found refuge in setting up some environmental variables withe the following variables in this order.
INCLUDE
C:\MinGW\include;C:\MinGW\lib\gcc\mingw32\4.6.1\include
INCLUDE
C:\MinGW\include;C:\MinGW\lib\gcc\mingw32\4.6.1\include
To copy to clipboard, switch view to plain text mode
LIB
C:\MinGW\lib\gcc\mingw32\4.6.1;C:\MinGW\lib
LIB
C:\MinGW\lib\gcc\mingw32\4.6.1;C:\MinGW\lib
To copy to clipboard, switch view to plain text mode
Now this got rid of the immediate displaying of failing to configure properly with undefined references in the file
Qt\src\corelib\tools\qlocale_tools.cpp
Qt\src\corelib\tools\qlocale_tools.cpp
To copy to clipboard, switch view to plain text mode
However later on down the track i found that the error came up, without reading through a few thousand lines of output i decided that the #include <float.h> at the top of this file may be best hard coded. I know this is not a good thing to do, however it did get me configured correctly. So edit it and input the full path to the file float.h
replace
#include <float.h>
#include <float.h>
To copy to clipboard, switch view to plain text mode
With
#include "C:\\MinGW\\include\\float.h"
#include "C:\\MinGW\\include\\float.h"
To copy to clipboard, switch view to plain text mode
I did some reading on mailing lists and discovered that there is actually a problem with the MinGW specific to Qt and numerous people have raised the same question.
I know this is quite an old thread, however i stumbled onto it and figure perhaps others will also.
Bookmarks