Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.6.2, 5.9.1, 5.15.2
Description
Create an application that throws an exception in slot and reimplement QApplication::notify()
as suggested in qt\qtbase\src\corelib\kernel\qeventloop.cpp, QEventLoop::exec():
qWarning("Qt has caught an exception thrown from an event handler. Throwing\n"
"exceptions from an event handler is not supported in Qt. You must\n"
"reimplement QApplication::notify() and catch all exceptions there.\n");
Application will crash on Android with Qt > 5.6.1 (bug was introduced in 5.6.2 and is still present in 5.9.1). Other platforms are not affected.
Attached test project and log.