[Interest] Segmentation fault on exiting Qt event loop
Konstantin Shegunov
kshegunov at gmail.com
Thu Jan 3 07:00:04 CET 2019
On Wed, Dec 19, 2018 at 11:51 AM Ramakanth Kesireddy <rama.kesi at gmail.com>
wrote:
> Yes QApplication destructor is invoked last..Does it makes sense to use
> deleteLater() in the widget destructors instead of existing delete if it
> could be cleaned up as part of qApp-quit()?
>
Your example code clearly shows otherwise. You have a QObject that's
created before and destroyed after the application object.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190103/6e2fe180/attachment.html>
More information about the Interest
mailing list