QObject: Do not delete object, 'unnamed', during its event handler!
来源:互联网 发布:人工智能做的好的企业 编辑:程序博客网 时间:2024/05/16 09:12
Qt程序退出时,经常会提示:
不用delete直接释放空间,而改用QObject::deleteLater()函数来释放空间。
Warning: QObject: Do not delete object, 'unnamed', during its event handler!
原因:
程序在delete某些对象时,该对象还在运行中。具体究竟是那些,搜索一下就可以了。
或者应该在编程时给未命名的对象都指定一个名称更直观。
不用delete直接释放空间,而改用QObject::deleteLater()函数来释放空间。
- QObject: Do not delete object, 'unnamed', during its event handler!
- Do not delete and re-create if the object already exist
- delete all files but do not delete any directory
- Professional JS(11.4.4-Markup Insertion/Scrolling/Event Flow/Event Handler/Event Object(part))
- unnamed
- Do not have xxx handler in current page
- Error occurred during initialization of VM Could not reserve enough space for object heap Could not
- during its initialization is never read
- Qt 静态函数QMetaObject::connectSlotsByName(QObject * object)
- JPA During synchronization a new object was found through a relationship that was not marked cascade
- 'Operation is not valid due to the current state of the object' error during postback
- ant build Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- 遇上Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM; Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Chromium的多进程架构
- MiniGUI源码分析--Helloworld(3):消息概览
- CLOSE_WAIT状态的生成原因
- zoj 3563 Alice's Sequence II__ZOJ Monthly, December 2011__矩阵的乘法和二进制快速幂
- android模拟器安装不了的问题
- QObject: Do not delete object, 'unnamed', during its event handler!
- linux常用命令分类
- 蓝牙技术
- Selenium-webdriver系列教程(4)——如何定位测试元素
- Path的Menu菜单(加号)效果
- Oracle 11g 等待事件
- 基于feng streaming server 搭建Android直播测试平台
- c#数组
- FLEX做的网站