Hi,
Has anyone tried to make debug version of the Qt libraries and encountered any problem ?
Hi,
Has anyone tried to make debug version of the Qt libraries and encountered any problem ?
We can't solve problems by using the same kind of thinking we used when we created them
I've been trying to compile it now for a while using mingw and can't seem to get it working.
runing configure.exe seems to work fine, but after running mingw32-make I get an error such as
Makefile.Debug:116:*** multiple target patterns. Stop.
I wrote to trolltech regarding this,
They acknowledge that this is a bug and has filed in tasktracker.
now the work around as told by them is that
After you install Qt.
Open the Qt 4.3.0 console
unset the lib environment variable by "set lib= "
configure -debug_and_release
make
We can't solve problems by using the same kind of thinking we used when we created them
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,
xEsk (26th June 2007)
Which task tracker? I can't find it.
Doing configure -debug-and-release -static -qt-sql-psql doesnt seem to work.
Any other ideas?
Hi
I follow this procedure and I got error after apply this command "mingw32-make"
Qt Code:
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 2To 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
You can also write to support at trolltech dot com as the solution that worked for me did not work for bongobonga or for traltixx. I believe the compilation issues are quite different
We can't solve problems by using the same kind of thinking we used when we created them
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.
Bookmarks