Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.1, 6.7.2, 6.7.3
-
None
-
qt for android sdk34,The latest version of QT6 or Qt6.7.1 or Qt 6.7.2 or Qt 6.7.3
-
-
33ef9330f (dev), 07807794f (6.8)
-
2024wk44s3FOQtforAndroid, 2024wk46s3FOQtforAndroid
Description
I am using qt6.7.1 for Android.
When the app is being built and running.
When I use QInputDialogue::getText().
The app sometimes crashes!
Error content:
E libEGL : eglGetCurrentDisplayImpl: EGLContext is nullptr. ... E AndroidRuntime: FATAL EXCEPTION: main E AndroidRuntime: Process: org.qtproject.jld_mes2024, PID: 28892 E AndroidRuntime: java.lang.NullPointerException: Attempt to write to field 'boolean org.qtproject.qt.android.QtEditText.m_optionsChanged' on a null object reference in method 'void org.qtproject.qt.android.QtInputDelegate.lambda$resetSoftwareKeyboard$0$org-qtproject-qt-android-QtInputDelegate()' E AndroidRuntime: at org.qtproject.qt.android.QtInputDelegate.lambda$resetSoftwareKeyboard$0$org-qtproject-qt-android-QtInputDelegate(QtInputDelegate.java:167) E AndroidRuntime: at org.qtproject.qt.android.QtInputDelegate$$ExternalSyntheticLambda4.run(Unknown Source:2) E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942) E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:223) E AndroidRuntime: at android.os.Looper.loop(Looper.java:324) E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8680) E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582) E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1061)
...
I can only solve it by recompiling Qt6Android.jar,Repair process(Look at the two pictures):
Attachments
Issue Links
- duplicates
-
QTBUG-128676 QInputDialog::getItem makes app not responsible and might generate an error with the EGL lib: EGL_BAD_MATCH
- In Progress
- mentioned in
-
Page Loading...