07-04-2012 09:24 AM
It's certainly been more than once I got such an output in the console after the application froze in the simulator:
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.
How do we go along catching these exceptions? Since neither bb::Application, nor the App class generated for the application subclass QApplication, how do we go along reimplementing QApplication::notify()?
Solved! Go to Solution.
07-04-2012 02:06 PM - edited 07-04-2012 02:06 PM
Hah, awkward. Well, this question will be the evidence that I should check absoltely everything before posting a question. Hopefully it will help someone else as well. Thanks.
06-27-2013 01:21 PM
What was the solution here?
The bb::cascades::Application class doesn't have a "notify()" method on it, only "notify( QObject* receiver, QEvent* event )" method which seems to get called for all sorts of things.