[Android-development] Android: crash in qmessagebox

maitai maitai at virtual-winds.org
Sat Aug 13 16:23:11 CEST 2016


Hello,

I have a user equipped with a Lenovo Yoga Tablet2 1050F (Android 5.0.1). 
App is compiled with qt5.7 for Android X86.

The app (QWidget-based) crashes each time a QMessageBox is called. Same 
thing happens if I compile with qt5.6. He is so far the only user with 
such a problem, out of 1000's. For some reason, I also never receive the 
crash reports he says he is sending me so I am completely in the dark 
here.

Regular QDialogs, even very complex ones, displays normally, and the 
rest of the app (with a complex QMainWindow/QGraphicsScene/View etc.) 
works normally . It's just QMessageBox that crashes. The users tested 
all options, everything works except when a QMessageBox is called.

I had a look at QMessageBox code but didn't find anything specifically 
related to Android.

Maybe someone has a clever idea of what can possibly cause that? What 
QMessageBox is using that QDialog is not?

Thanks
Philippe Lelong



More information about the Android-development mailing list