After installing Qt Creator 3.2.2 from source I tried to run my project with Qt Creator's debugger frontend, but instead of starting to debug I got an error from Qt Creator:
The selected build of GDB does not support Python scripting. It cannot be used in Qt Creator.
Does it mean that I have to build GDB from source, selecting python support, to be able to use Qt Creator in Ubuntu?
Best Answer
As explained in this blogpost, default1 install of GDB in Ubuntu appears to be
gdb-minimal
. To get a version of GDB usable with Qt Creator, you can just dowhich will remove
gdb-minimal
, installgdb
and additionally installlibc6-dbg
. After this you'll be able to debug your project using QtCreator without getting such errors.1I'm not sure in what sense it is the default, maybe it's installed with
build-essential
, or something else...