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.

Quote Originally Posted by geo_saleh View Post
Hi

I follow this procedure and I got error after apply this command "mingw32-make"

Qt Code:
  1. in32-g++" -o tmp\obj\release_shared\crc32.o ..\..\3rdparty\zlib\crc32.c
  2. In file included from ..\..\3rdparty\zlib\crc32.c:29:
  3. ..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
  4. ..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
  5. ..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
  6. ..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
  7. ..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
  8. mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
  9. mingw32-make[2]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
  10. mingw32-make[1]: *** [release] Error 2
  11. mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
  12. mingw32-make: *** [sub-rcc-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode 

Now I can build project in release mode but I cannot build it in debug mode
I have Qt 4.3 installed on windows vista

thanks