
Originally Posted by
bongobonga
The fix/workaround mentioned before in this thread doesn't work properly for me. I have just got a reply from Qt on how to fix the problem.
Do the following:
Open the Qt 4.3.0 console
Unset the INCLUDE and LIB environment variables, i.e.
"set lib = "
"set include = "
Do "del /s qconfig.h"
configure -debug_and_release
mingw32-make
I've followed this procedure and it appears to compile okay.
Regards,
Hi
I follow this procedure and I got error after apply this command "mingw32-make"
in32-g++" -o tmp\obj\release_shared\crc32.o ..\..\3rdparty\zlib\crc32.c
In file included from ..\..\3rdparty\zlib\crc32.c:29:
..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
mingw32-make: *** [sub-rcc-make_default-ordered] Error 2
in32-g++" -o tmp\obj\release_shared\crc32.o ..\..\3rdparty\zlib\crc32.c
In file included from ..\..\3rdparty\zlib\crc32.c:29:
..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
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
Bookmarks