diff options
| author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2025-07-18 17:50:30 +0300 |
|---|---|---|
| committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2025-08-14 06:08:17 +0300 |
| commit | 93ce4ad5f91522d110b549dd2d42e2864372d49d (patch) | |
| tree | b84aeca86b1791600d8e4f3af3a1374ba969340d /src/network/doc/snippets/code | |
| parent | 952a785003c9955c3536cf9cacfd502efc84320f (diff) | |
Android: show a toast instead of a dialog in case of app start failure
Instead of showing a dialog that waits for user input to accept it to
then finish() the activity, we show a toast and right away finish().
This is a better approach for handling failed Qt libraries loading
since while the app waits for the user input, other Android callbacks
might be called (e.g. onNewIntent(), onPrepareOptionsMenu(), etc.)
and those themselves call native methods which will get an
UnsatisfiedLinkError that might hide the real failure which is that
the native libraries failed to load.
Task-number: QTBUG-132211
Task-number: QTBUG-120467
Task-number: QTBUG-70114
Task-number: QTBUG-86314
Pick-to: 6.10 6.9 6.8
Change-Id: Ib0a8a93bef7f07bbf0d24cd9860eb87e4a4fed3e
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/network/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
