在用GDB调试qt/demos/browser时,默认情况下GDB无法进入到webkit/webcore设置断点,而所有的页面加载及解析操作都无从知晓。
修改qt/src/3rdparty/webkit/WebCore/WebCore.pro
CONFIG(QTDIR_build) {
# Remove the following 2 lines if you want debug information in WebCore
# CONFIG -= separate_debug_info
# CONFIG += no_debug_info
}
重新产生WebCore/Makefile
cd qt/src/3rdparty/webkit/WebCore
../../../../bin/qmake WeBCore.pro
make
cd ../../../../
sudo make && make install
阅读(3049) | 评论(0) | 转发(0) |