I had the same errors by installing Qt 4.3.3 on Vista 64.
I found it's because MinGW was not installed correctly. There are some environment variables left behind:
SET MINGW_DIR=C:\MinGW
SET GCC_EXEC_PREFIX=%MINGW_DIR%
SET PATH=%MINGW_DIR%\bin;%MINGW_DIR%\libexec\gcc\mingw 32\3.4.2;
SET LIBRARY_PATH=%MINGW_DIR%\lib;%MINGW_DIR%\lib\gcc\m ingw32\3.4.2
SET C_INCLUDE_PATH=%MINGW_DIR%\include;%MINGW_DIR%\lib \gcc\mingw32\3.4.2\include
note: People said MinGW directory must be in the disk root, or it won't work. I didn't try to violate that. So I don't know if that's true or not.
The bad news is after setting these environment variables, I had new errors. The good news is they could be easily fixed. The error message is like "Segmentation fault, please visit http://www.mingw.org/bugs.shtml to report bugs." So I just download MinGW 5.1.4 installer, and let it download and install MinGW. Then Qt is build fine. I succeed compiling tutorial 1 in both debug and release version.





Reply With Quote
Bookmarks