• 4980阅读
  • 1回复

在Windows下编译Qt4.3.0开源版本出错。 [复制链接]

上一主题 下一主题
离线sflute
 
只看楼主 倒序阅读 楼主  发表于: 2007-07-10
— 本帖被 XChinux 执行加亮操作(2007-08-12) —
在Windows下编译Qt4.3.0,configure没有问题,但执行mingw32-make时出了以下错误,求高手解释,谢谢!

C:\Qt\4.3.0>C:\MinGW\bin\mingw32-make
cd src\winmain\ && C:/MinGW/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/Qt/4.3.0/src/winmain'
C:/MinGW/bin/mingw32-make -f Makefile.Debug all
mingw32-make[2]: Entering directory `C:/Qt/4.3.0/src/winmain'
Makefile.Debug:116: *** multiple target patterns.  Stop.
mingw32-make[2]: Leaving directory `C:/Qt/4.3.0/src/winmain'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/src/winmain'
mingw32-make: *** [sub-winmain-make_default-ordered] Error 2
离线浪漫天使
只看该作者 1楼 发表于: 2007-07-11
http://www.qtcn.org/bbs/read.php?tid=8320

http://www.qtcentre.org/forum/f-installation-5/t-did-you-try-qt-43-opensource-on-winxp--7428.html

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 (应该是-debug-and-release吧)
mingw32-make

I've followed this procedure and it appears to compile okay
快速回复
限100 字节
 
上一个 下一个