[Android-development] Android: crash in qmessagebox
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
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 
> 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.
> Tomas Løvbukten
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Android-development