Re: [Interest] Slot exception being thrown on exit

2018-03-13 Thread Thiago Macieira
On Tuesday, 13 March 2018 19:08:00 PDT Ramakanth Kesireddy wrote: > new Application ( argc > , argv > , Application::GuiServer ); There are two problems in the above line. Not fatal, but they are worrisome. First, "new Application" i

Re: [Interest] Slot exception being thrown on exit

2018-03-13 Thread Ramakanth Kesireddy
Hi, Thanks a lot for the pointers and tried both approaches but couldnot trace the slot where exception is being thrown. I re-implemented notify but the exception is not being caught. class Application: public QApplication { public: Application(int& argc, char** argv,int = ApplicationFlags):

Re: [Interest] Slot exception being thrown on exit

2018-03-06 Thread Thiago Macieira
On Tuesday, 6 March 2018 09:30:21 PST Ramakanth Kesireddy wrote: > 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? Run in the debugger and ask it to stop in any C++ exception thrown (gdb co

Re: [Interest] Slot exception being thrown on exit

2018-03-06 Thread Jason H
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" To: interest@qt-project.org Subject: [Interest] Slot exception being thrown on exit Hi,

[Interest] Slot exception being thrown on exit

2018-03-06 Thread Ramakanth Kesireddy
Hi, When 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 a