• 6303阅读
  • 6回复

Qt4.1.3在Mingw下编译出错!! [复制链接]

上一主题 下一主题
离线truelixin
 

只看楼主 倒序阅读 楼主  发表于: 2006-06-02
Qt4.1.3在Mingw下编译出错!!
cd src && mingw32-make -f Makefile
c:\MinGW\bin\mingw32-make.exe[1]: Entering directory `c:/Qt/4.1.3/src'
cd winmain && c:/MinGW/bin/mingw32-make.exe -f Makefile
c:\MinGW\bin\mingw32-make.exe[2]: Entering directory `c:/Qt/4.1.3/src/winmain'
c:/MinGW/bin/mingw32-make.exe -f Makefile.Debug all
mingw32-make.exe[3]: Entering directory `c:/Qt/4.1.3/src/winmain'
g++ -c -g -g -Wall -frtti -fexceptions -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEF
ILE_SUPPORT -DQT_NEEDS_QMAIN -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT
-I"C:/Qt/4.1.3/include" -I"tmp" -I"C:/Qt/4.1.3/include/QtCore" -I"c:\Qt\4.1.3\i
nclude\qtmain" -I"tmp" -I"C:/Qt/4.1.3/include/ActiveQt" -I"tmp\moc\debug_shared"
-I"." -I"..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\qtmain_win.o qtmain_w
in.cpp
ar -ru "..\..\lib\libqtmaind.a" tmp\obj\debug_shared\qtmain_win.o
c:\MinGW\bin\ar.exe: creating ..\..\lib\libqtmaind.a
mingw32-make.exe[3]: Leaving directory `c:/Qt/4.1.3/src/winmain'
c:/MinGW/bin/mingw32-make.exe -f Makefile.Release all
mingw32-make.exe[3]: Entering directory `c:/Qt/4.1.3/src/winmain'
g++ -c -O2 -O2 -Wall -frtti -fexceptions -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARG
EFILE_SUPPORT -DQT_NEEDS_QMAIN -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMP
AT -DQT_NO_DEBUG -I"C:/Qt/4.1.3/include" -I"tmp" -I"C:/Qt/4.1.3/include/QtCore"
-I"c:\Qt\4.1.3\include\qtmain" -I"tmp" -I"C:/Qt/4.1.3/include/ActiveQt" -I"tmp\m
oc\release_shared" -I"." -I"..\..\mkspecs\win32-g++" -o tmp\obj\release_shared\q
tmain_win.o qtmain_win.cpp
ar -ru "..\..\lib\libqtmain.a" tmp\obj\release_shared\qtmain_win.o
c:\MinGW\bin\ar.exe: creating ..\..\lib\libqtmain.a
mingw32-make.exe[3]: Leaving directory `c:/Qt/4.1.3/src/winmain'
c:\MinGW\bin\mingw32-make.exe[2]: Leaving directory `c:/Qt/4.1.3/src/winmain'
cd tools\moc && c:/MinGW/bin/mingw32-make.exe -f Makefile
/usr/bin/sh: cd: toolsmoc: No such file or directory
c:\MinGW\bin\mingw32-make.exe[1]: *** [sub-tools\moc-make_default-ordered] Error
1
c:\MinGW\bin\mingw32-make.exe[1]: Leaving directory `c:/Qt/4.1.3/src'
mingw32-make: *** [sub-src-make_default-ordered] Error 2

Qt 4.1.3 在Windows下用Mingw编译出错!!!

哪位大侠帮帮忙!!!
离线wdj0001
只看该作者 1楼 发表于: 2006-06-05
我也遇到同样的问题,我QQ109426383,如果你解决了麻烦告诉我一下
离线wdj0001
只看该作者 2楼 发表于: 2006-06-07
兄弟,我换了个4.1.2,在管理员身份下编译通过了 。我的平台是WINXP SP2.DEV-CPP4.9.9.2,QT4.1.2.祝你好运。
离线truelixin

只看该作者 3楼 发表于: 2006-06-08
哦?呵呵!我试试
离线truelixin

只看该作者 4楼 发表于: 2006-06-08
不行,还是一样的错误!
离线浪漫天使
只看该作者 5楼 发表于: 2006-06-08
/usr/bin/sh: cd: toolsmoc: No such file or directory

这个在windows下很摸不着头脑
说一下你的环境配置
离线truelixin

只看该作者 6楼 发表于: 2006-06-09
path=C:\Qt\4.1.3\bin;C:\MinGW\bin;

windows2000

MinGW g++ 3.4.5
快速回复
限100 字节
 
上一个 下一个