08-23-2014 04:14 PM - edited 08-23-2014 05:40 PM
I created small app, which has headless part. The headless part has two actions:
I have problem with (2) action - when I try to read SMS message content using:
QByteArray message = QByteArray::fromBase64(request.data());
my app (headless part) crash - in Momentics I see:
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.
And first part of headless app (this with GPS) also stop working.
I'm sure, that problem is with:
but I really don't know, how to solve this, because, when I send second time SMS (GPS part not works) everything is going without any problem...
Could you help me, please?
Thank you in advance