• 5280阅读
  • 0回复

QT-Creator编译时出错 [复制链接]

上一主题 下一主题
离线wantfly
 
只看楼主 倒序阅读 楼主  发表于: 2009-11-04
我安装了两个版本,一个是QT为symbian,也安装了Carbide 2.0,在Carbide2.0下编译运行Symbian的QT程序正常。
但用QT-Creator编译QT的Windows程序提下如下错误。
Starting: C:/Qt/2009.04/qt/bin/qmake.exe E:/0ther/BOOK/QT/examples/chap01/quit/quit.pro -spec win32-g++ -r
Exited with code 0.
Starting: C:/MinGW/bin/mingw32-make.exe -w
mingw32-make: Entering directory `E:/0ther/BOOK/QT/examples/chap01/quit'
C:/MinGW/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `E:/0ther/BOOK/QT/examples/chap01/quit'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\2009.04\qt\include\QtCore" -I"c:\Qt\2009.04\qt\include\QtGui" -I"c:\Qt\2009.04\qt\include" -I"c:\Qt\2009.04\qt\include\ActiveQt" -I"debug" -I"c:\Qt\2009.04\qt\mkspecs\win32-g++" -o debug\quit.o quit.cpp
mingw32-make[1]: Leaving directory `E:/0ther/BOOK/QT/examples/chap01/quit'
mingw32-make: Leaving directory `E:/0ther/BOOK/QT/examples/chap01/quit'
Sorry, \epoc32\gcc\bin\g++.exe is not supported in this release. Please use a different
device. Use 'devices' to view the available devices.
mingw32-make[1]: *** [debug/quit.o] Error 2
mingw32-make: *** [debug] Error 2
Exited with code 2.
Error while building project quit
When executing build step 'Make'

请问应如果设置才行?
为什么用symbian的sdk下的g++.exe来编译呢?谢谢!
快速回复
限100 字节
 
上一个 下一个