[Android-development] Android: crash in qmessagebox

maitai maitai at virtual-winds.org
Tue Aug 16 00:20:53 CEST 2016


Wow... thanks so much for that link, I don't know how I didn't find it
after googling for hours for that. 

To be honest I had no hope someone would have an idea... 

qt-android-maillist rules, thanks again Tomas 

Philippe.

Le 15-08-2016 22:27, Tomas Løvbukten a écrit :

> Hi Philippe,  
> 
> I guess you ran into this bug I filed last year:  
> 
> * QTBUG-49321 [1]
> 
> Title on Dialog crashes application on Lenovo Yoga Tablet 2-1050L (Android 5.0.1) 
> 
> The workaround we do in our apps is to check for this specific device, and remove title on dialogs if we're on the Yoga tablet, using code similar to this: 
> 
> const QString &model = QAndroidJniObject::getStaticObjectField<jstring>("android/os/Build", "MODEL").toString();
> 
> const bool noTitle = model == QLatin1String("YOGA Tablet 2-1050L");
> 
> Hope this helps a bit.  
> 
> Regards,  
> 
> Tomas Løvbukten
 

Links:
------
[1] https://bugreports.qt.io/browse/QTBUG-49321
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20160816/88e4ce7f/attachment.html>


More information about the Android-development mailing list