1. reimplement QApplication::notify() and catch all exceptions there
2. Set a break point there., examine call stack
Sent: Tuesday, March 06, 2018 at 12:30 PM
From: "Ramakanth Kesireddy" <rama.k...@gmail.com>
To: interest@qt-project.org
Subject: [Interest] Slot exception being thrown on exit
From: "Ramakanth Kesireddy" <rama.k...@gmail.com>
To: interest@qt-project.org
Subject: [Interest] Slot exception being thrown on exit
Hi,
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interestWhen Qt application is being exited, it throws below error:-
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
Please let me know if there is any way to find out the slot or eventhandler throwing exception
other than running the app in debug mode with backtrace?
Thanks and Regards,
RK
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest