关于qt4.6.1 qt version 的debugging helper 不能rebuild

loveallsprings 2010-03-03 07:34:34
在qt4.6。1的tools-》options里面的qt versions里面

里面有一个是manual

qmake location :。。。\qt\2010.01\qt\bin\qmake.exe

mingw location :。。。\Qt\2010.01\mingw

然后debugging helper 上显示的确是X,然后rebuild下以后就显示log



Building debugging helper library in D:/Qt/2010.01/qt/qtc-debugging-helper/

Running D:/Qt/2010.01/mingw/bin/mingw32-make.exe distclean...
D:/Qt/2010.01/mingw/bin/mingw32-make -f Makefile.Debug distclean
mingw32-make[1]: Entering directory `D:/Qt/2010.01/qt/qtc-debugging-helper'
del tmp\obj\debug_shared\gdbmacros.o
找不到 D:\Qt\2010.01\qt\qtc-debugging-helper\tmp\obj\debug_shared\gdbmacros.o
del debug\libgdbmacros.a
找不到 D:\Qt\2010.01\qt\qtc-debugging-helper\debug\libgdbmacros.a
del debug\gdbmacros.dll
找不到 D:\Qt\2010.01\qt\qtc-debugging-helper\debug\gdbmacros.dll
del Makefile.Debug
mingw32-make[1]: Leaving directory `D:/Qt/2010.01/qt/qtc-debugging-helper'
D:/Qt/2010.01/mingw/bin/mingw32-make -f Makefile.Release distclean
mingw32-make[1]: Entering directory `D:/Qt/2010.01/qt/qtc-debugging-helper'
del tmp\obj\release_shared\gdbmacros.o
找不到 D:\Qt\2010.01\qt\qtc-debugging-helper\tmp\obj\release_shared\gdbmacros.o
del release\libgdbmacros.a
找不到 D:\Qt\2010.01\qt\qtc-debugging-helper\release\libgdbmacros.a
del release\gdbmacros.dll
找不到 D:\Qt\2010.01\qt\qtc-debugging-helper\release\gdbmacros.dll
del Makefile.Release
mingw32-make[1]: Leaving directory `D:/Qt/2010.01/qt/qtc-debugging-helper'
del Makefile

Running d:/qt/2010.01/qt/bin/qmake.exe ...

Running D:/Qt/2010.01/mingw/bin/mingw32-make.exe ...
D:/Qt/2010.01/mingw/bin/mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `D:/Qt/2010.01/qt/qtc-debugging-helper'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DUSE_QT_GUI=1 -DHAS_QOBJECT_P_H -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\include\QtCore" -I"..\include\QtGui" -I"..\include" -I"..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"c:\Program Files\Microsoft Visual Studio\VC98\atl\include" -I"c:\Program Files\Microsoft Visual Studio\VC98\mfc\include" -I"d:\Qt\2010.01\mingw\include" -I"..\mkspecs\win32-g++" -o tmp\obj\debug_shared\gdbmacros.o gdbmacros.cpp
gdbmacros.cpp: In member function '<unnamed>::QDumper&<unnamed>::QDumper::put(long long unsigned int)':
gdbmacros.cpp:580: warning: unknown conversion type character 'l' in format
gdbmacros.cpp:580: warning: too many arguments for format
gdbmacros.cpp: In member function '<unnamed>::QDumper&<unnamed>::QDumper::put(long long int)':
gdbmacros.cpp:587: warning: unknown conversion type character 'l' in format
gdbmacros.cpp:587: warning: too many arguments for format
gdbmacros.cpp: At global scope:
gdbmacros.cpp:276: warning: 'bool<unnamed>::couldBePointer(const void*)' defined but not used
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -shared -mthreads -Wl -Wl,--out-implib,debug\libgdbmacros.a -o debug\gdbmacros.dll tmp/obj/debug_shared/gdbmacros.o -L"d:\Qt\2010.01\qt\lib" -L"c:\Program Files\Microsoft Visual Studio\VC98\mfc\lib" -L"c:\Program Files\Microsoft Visual Studio\VC98\lib" -L"d:\Qt\2010.01\qt\lib" -lQtGuid4 -lQtCored4
Creating library file: debug\libgdbmacros.ad:/qt/2010.01/mingw/bin/../lib/gcc/mingw32/4.4.0/libstdc++.a(vterminate.o):C:\MinGW\src\gccbf\mingw32\libstdc++-v3\libsupc++/../../../../gcc-4.4.0/libstdc++-v3/libsupc++/vterminate.cc:47: undefined reference to `_imp___iob'
d:/qt/2010.01/mingw/bin/../lib/gcc/mingw32/4.4.0/libstdc++.a(vterminate.o):C:\MinGW\src\gccbf\mingw32\libstdc++-v3\libsupc++/../../../../gcc-4.4.0/libstdc++-v3/libsupc++/vterminate.cc:65: undefined reference to `_imp___iob'
d:/qt/2010.01/mingw/bin/../lib/gcc/mingw32/4.4.0/libstdc++.a(vterminate.o):C:\MinGW\src\gccbf\mingw32\libstdc++-v3\libsupc++/../../../../gcc-4.4.0/libstdc++-v3/libsupc++/vterminate.cc:91: undefined reference to `_imp___iob
'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\gdbmacros.dll] Error 1
mingw32-make[1]: Leaving directory `D:/Qt/2010.01/qt/qtc-debugging-helper'
mingw32-make: *** [debug-all] Error 2



不知道这个不能rebuild会不会对程序运行造成一定的影响?
请高手指教!
...全文
480 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
otiefang 2011-07-21
  • 打赏
  • 举报
回复
需要在~/.profile下添加环境变量
MicroSky2813 2010-03-04
  • 打赏
  • 举报
回复
只留 D:\Qt\2010.01\mingw\include
还不行就重新装一遍
loveallsprings 2010-03-04
  • 打赏
  • 举报
回复
引用 4 楼 dyw 的回复:
都去掉。用mingw的话,跟vc没有关系


但是都去掉了,重启了还是一样rebuild是上面的错误

会不会不是那个include环境变量的原因啊?!
dyw 2010-03-04
  • 打赏
  • 举报
回复
都去掉。用mingw的话,跟vc没有关系
loveallsprings 2010-03-04
  • 打赏
  • 举报
回复
引用 2 楼 microsky2813 的回复:
  环境变量的问题,把你环境变量中VC98的给去掉

就是那个include里面的所有vc98的都去掉嘛,我就去掉了一个

现在我的include 里面是:
C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;D:\Qt\2010.01\mingw\include

其他两个也要去掉吗?
loveallsprings 2010-03-04
  • 打赏
  • 举报
回复
引用 6 楼 microsky2813 的回复:
只留 D:\Qt\2010.01\mingw\include
还不行就重新装一遍


呵呵,果不其然的还是不行啊,看来我只能放弃重装了啊
MicroSky2813 2010-03-03
  • 打赏
  • 举报
回复
环境变量的问题,把你环境变量中VC98的给去掉
loveallsprings 2010-03-03
  • 打赏
  • 举报
回复
没人看,自己顶~~~~ ~~~~~

16,203

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧