Qtcreator远程调试出现“The selected build of GDB does not support Python scripting.It cannot be used ..\"
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/aristolto/article/details/77370853 之前使用的是Qt4.7后来换成了Qt5.x,Qtcreator的版本使用4.0,使用中发现Qtcreator远程调试出现“The selected build of GDB does not support Python scripting.It cannot be used in Qt Creator.” 意思是gdb不支持Python脚本不能再Qtcreator中使用。有问题问度娘找了半天终于发现一个能解决问题的分享一下: sudo apt-get install gdb-multiarch 安装这个gdb工具。然后Qtcreator中Tools-->Options-->Build & Run 找到Debuggers选项卡添加/usr/bin/gdb-multiarch,对应的Kits中使用的gdb换成添加的这个。 剩下的就是开启调试了。假设开发板的IP是192.168.1.123,虚拟机的IP是192.168.1.124。 1.登录到开发板telnet 192.168.1.123, 2.挂载nfs服务器 mount -t nfs 192.168.1.124:/nfsshare /mnt/nfs -o