Can i set a breakpoint inside Qt itself?

扶醉桌前 提交于 2020-01-16 07:53:32

问题


As a sub-question to this, I want to know, since Qt5 is distributed with full source code, is it possible to set up debugger break-points inside Qt itself?

Is there a symbol file shipped with Qt5 for the binary build? Do I have to build my own Qt to do this?

What is the fastest way to have breakpoints inside Qt5 working with QtCreator on Ubuntu?


回答1:


You need to configure and build qt yourself with debug symbols. (-debug)

Then in QtCreator you can go to Options > Debugger > General and "Add the Qt-Sources".



来源:https://stackoverflow.com/questions/47624759/can-i-set-a-breakpoint-inside-qt-itself

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!