Qt error ------ 出现Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly


出现原因:

使用了不存在的对象

数组越界了

用 delete 释放未分配的内存空间,或者超过一次释放同个内存

 

 

比如:

顺序不能颠倒

正确:

ui->setupUi(this);

ui->tableWidget->setColumnWidth(0, 100);

 

错误:

ui->tableWidget->setColumnWidth(0, 100);

ui->setupUi(this);


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM