2013-03-30 42 views
1

尽管在Qt Creator 2.7.0中为Qt 4.8.4构建调试助手的日志显示成功,并且在“首选项”>“调试器”下选中了“使用调试助手” >当地人&表达式,我仍然无法在调试时正确检查诸如QString的值。控制台窗口中没有错误显示正在调试的应用程序。有任何想法吗?Qt Creator Mac OS X 10.8.3调试助手不工作

回答

0

我在QtC2.7.0(也是2.6)上用最近的OSX上自建的Qt4.8.4也遇到了同样的问题:通过自己构建调试器助手来完成以下工作。

copy this to the head of the dumper.pro 

macx:QMAKE_CC = gcc 
macx:QMAKE_CXX = g++ 
macx:QMAKE_LINK = g++ 

run the following commands 

2761 cd "/Users/Shared/current_qt/qtc-debugging-helper/" 
2766 /Users/Shared/current_qt/bin/qmake -spec macx-g++42 dumper.pro -nocache CONFIG+=x86_64 
2767 make all -k