• 5687阅读
  • 2回复

[提问]Qt5.0.1问题 [复制链接]

上一主题 下一主题
离线uidab
 

只看楼主 倒序阅读 楼主  发表于: 2013-02-01
16:58:12: Running steps for project aaaa...
16:58:12: Starting: "d:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe" D:\Qt\test5\aaaa\aaaa.pro -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"
16:58:17: The process "d:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe" exited normally.
16:58:17: Starting: "D:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe"
D:/Qt/Qt5.0.1/Tools/MinGW/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'D:/Qt/test5/aaaa-build-Desktop'
d:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\uic.exe ..\aaaa\mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_NEEDS_QMAIN -I..\aaaa -I"..\..\Qt5.0.1\5.0.1\mingw47_32\include" -I"..\..\Qt5.0.1\5.0.1\mingw47_32\include\QtWidgets" -I"..\..\Qt5.0.1\5.0.1\mingw47_32\include\QtGui" -I"..\..\Qt5.0.1\5.0.1\mingw47_32\include\QtCore" -I"debug" -I"." -I"." -I"d:\Qt\Qt5.0.1\5.0.1\mingw47_32\mkspecs\win32-g++" -o debug\mainwindow.o ..\aaaa\mainwindow.cpp
cc1plus.exe: error: unrecognized command line option "-fno-keep-inline-dllexport"
Makefile.Debug:470: recipe for target 'debug/mainwindow.o' failed
mingw32-make[1]: *** [debug/mainwindow.o] Error 1
mingw32-make[1]: Leaving directory 'D:/Qt/test5/aaaa-build-Desktop'
makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
16:58:18: The process "D:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project aaaa (kit: Desktop Qt 5.0.1 MinGW 32bit)
When executing step 'Make'

这个红字是什么意思?
测试一个简单hello 的GUI程序编译出错
有时候为了工作直接获得答案,而我却失去了思考的乐趣!


飘啊飘,何时能安居!
离线dbzhang800

只看该作者 1楼 发表于: 2013-02-01
如果同时装有多个MinGW的话,确保当前使用的是Qt5自带的
离线uidab

只看该作者 2楼 发表于: 2013-02-04
回 1楼(dbzhang800) 的帖子
很可能是这个问题,感觉卸载上一个版本后最好重启一下机器。

现在已经没问题了!
有时候为了工作直接获得答案,而我却失去了思考的乐趣!


飘啊飘,何时能安居!
快速回复
限100 字节
 
上一个 下一个