参考文献:http://www.qtcentre.org/threads/26506-amp-quot-warning-GDB-Failed-to-set-controlling-terminal-Invalid-argument-n-quot

1:第一步: 创建文件QT.config:sudo   touch  /etc/ld.so.conf.d /QT.config

2:第二步: 更改文件: /etc/ld.so.conf.d /QT.config

3:第三步;在文件中添加 qt library 的地址:/opt/qtcreator-1.3.0/lib    具体路径参照自己的安装目录
4:第四步,文件保存并执行命令:sudo ldconfig
 
gdb现在可以调试了!呵呵

 

GitHub 加速计划 / term / terminal
8
0
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:4 个月前 )
25392ea6 CodeQL is raising errors when building Visual Studio since they have a dependency on Windows Terminal for our integrated terminal. The issue raised by CodeQL refers to a non-constant string format, but in this case the string comes from a resource file and should be considered constant. 4 天前
8ddb14bd After #15855, this repo no longer uses submodules. Removing instruction about needing to initialize them. 5 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐