Qt ERROR : The inferior stopped because it received a signal from the operating system.

IDE Qt 5.14.1 - Qt Creator 4.11.0 (Community) 错误描

Qt ERROR : The inferior stopped because it received a signal from the operating system.

IDE

        Qt 5.14.1 - Qt Creator 4.11.0 (Community)

错误描述

        编译并不报错,运行时程序崩溃(停止工作)

        调试时错误提示(截图):

                

错误原因

        通过指向QMenu对象的指针调用void QWidget::addAction(QAction *action)时,将未初始的QAction*类型成员变量作为参数,即使用野指针传参

参考文章

        Qt 错误:The inferior stopped because it received a signal from the Operating System_非常道的博客-CSDN博客

        [QT]The inferior stopped because it received a signal from the operating system 自己解决方法_erenzai_CUGB的博客-CSDN博客

发布者:admin,转转请注明出处:http://www.yc00.com/web/1690910032a461042.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信