Stepping into Qt sources in Qt Creator (in Ubuntu Linux)

前端 未结 3 514
悲哀的现实
悲哀的现实 2020-12-02 17:22

I\'m using Qt Creator in Ubuntu. It\'s installed from the repositories but as it is now, there is no way to step into the Qt sources when debugging.

How can I enable

3条回答
  •  生来不讨喜
    2020-12-02 17:59

    Qt binary packages for Linux don't contain debug symbols and therefore the debugger doesn't know files or line numbers where to jump to. You need to build Qt yourself with -debug configure option if you want to be able to debug Qt code.

    Instructions from Sergey Tachenov instructions would only work if you build your application against the Qt version that you can find from Ubuntu repositories.

提交回复
热议问题