【问题标题】:Qt Creator Mac OS X 10.8.3 debugging helpers not workingQt Creator Mac OS X 10.8.3 调试助手不起作用
【发布时间】:2013-03-30 18:14:40
【问题描述】:
即使在 Qt Creator 2.7.0 中为 Qt 4.8.4 构建调试助手的日志显示成功,并且在 Preferences > Debugger > Locals & Expressions 下选中了“Use Debugging Helper”,我仍然无法检查诸如QStrings 在调试时正确。正在调试的应用程序的控制台窗口中没有显示任何错误。有什么想法吗?
【问题讨论】:
标签:
macos
qt
gdb
qt-creator
macports
【解决方案1】:
我在最新的 OSX 上使用自建 Qt4.8.4 的 QtC2.7.0(以及 2.6)遇到了同样的问题:我自己构建了调试器助手,完成了以下操作。
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