关于Qt编译时问题的一个非常奇怪的解决方法

quote:
Originally posted by rajeev.rakesh
i am getting the problem that i have included below.
[...]
ain.o -L"C:/Qt/4.0.1/lib" -L"C:/Qt/4.0.1/lib" -lmingw32 -lqtmaind -lQtCored4 -l
QtGuid4
C:/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/../../../../mingw32/bin/ld.exe: cannot
find -lQtGuid4



Edit the Makefile.Debug (used Makefile) file and remove the 'd' in the library names!

For example:
-lmingw32 -lqtmaind -lqsad1 -lQtCored4 -lQtGuid4 -lQt3Supportd4 -lQtNetworkd4

would become:
-lmingw32 -lqtmain -lqsa1 -lQtCore4 -lQtGui4 -lQt3Support4 -lQtNetwork4

afterwards it should compile properly.

 

这样改了以后,debug就是debug了,岂不是和release一样了
 

你可能感兴趣的:(关于Qt编译时问题的一个非常奇怪的解决方法)