[Android-development] Android: crash in qmessagebox
maitai
maitai at virtual-winds.org
Tue Aug 16 00:43:15 CEST 2016
Oops sorry for the wrong mail destination :)
Le 16-08-2016 00:22, maitai a écrit :
> Bonne nouvelle, j'ai reporté le pb chez qt et le pb est connu, et est spécifique à cette tablette: https://bugreports.qt.io/browse/QTBUG-49321
>
> Du coup je vais pouvoir y faire quelque chose, des nouvelles demain surement
>
> Amicalement,
>
> Philippe
>
> Le 16-08-2016 00:20, maitai a écrit :
>
> 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/315651c0/attachment.html>
More information about the Android-development
mailing list