problem with debug version compilation 4.3.1
I installed Qt-4.3.1-mingw under winxp, and there are errors list below while I compiled the debug version. Need help. Thank so much.
cd src\winmain\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/Qt/4.3.1/src/winmain'
mingw32-make -f Makefile.Debug all
Makefile.Debug:116: *** multiple target patterns. Stop.
mingw32-make[2]: Entering directory `C:/Qt/4.3.1/src/winmain'
mingw32-make[2]: Leaving directory `C:/Qt/4.3.1/src/winmain'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.3.1/src/winmain'
mingw32-make: *** [sub-winmain-make_default-ordered] Error 2
Re: problem with debug version compilation 4.3.1
Did you manage to solve the problem yet? Did you use the "Build Debug Libraries" -shortcut provided in start menu?
Re: problem with debug version compilation 4.3.1
This is a common error when the environment variables LIB and INCLUDE are set to some msvc specific paths - since Qt 4.3.0 qmake uses those paths. MSVC6 did this, MSVC 7 and above are smarter (ok, just a little bit, but smart enough that this error does not occour).
Just set the both env vars to empty and rerun qmake.
Re: problem with debug version compilation 4.3.1
Hi all,
after i removed the environment variable Lib and Include, executed qmake and configure debug library again, it ran a bit more and gave me this error:
mingw32-make[2]: *** [tmp\obj\debug_shared\qwindowsvistastyle.o] Error 1
mingw32-make[2]: Leaving directory `C:/QT/4.3.2/src/gui'
mingw32-make[1]: *** [debug] Error 2
mingw32-make[1]: Leaving directory `C:/QT/4.3.2/src/gui'
mingw32-make: *** [debug-C__Qt_4_3_2_src_gui] Error 2
Does s.o. know how to fix it
Thanks so much.
minhtu