Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML AppCrash on BackButton Press (Android, Qt5.2 Beta)
Qt 6.11 is out! See what's new in the release blog

QML AppCrash on BackButton Press (Android, Qt5.2 Beta)

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 3.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I was trying to handle the back button in QML application to Quit the app like so:
    @ Keys.onReleased: {
    if (event.key == Qt.Key_Back) {
    console.log("Back button captured - wunderbar !");
    event.accepted = true
    Qt.quit();
    }
    }@
    But it crashes with the following log:

    @D/Qt (21700): assets:/qml/QuickFirst/main.qml:42 (onReleased): Back button captured - wunderbar !
    W/Adreno-EGL(21700): <qeglDrvAPI_eglMakeCurrent:2918>: EGL_BAD_MATCH
    E/libEGL (21700): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
    W/Qt (21700): eglconvenience/qeglplatformcontext.cpp:119 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3009, this: 0x74fb1b90
    W/Qt (21700):
    E/libEGL (21700): call to OpenGL ES API with no current context (logged once per thread)@

    Any idea why this might be happening?..

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi guys is anybody else seeing this problem on QML android?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        I have another message when pressing back button

        @E/IMGSRV (16495): kickresource.c:1130: Debug assertion failed!
        F/libc (16495): Fatal signal 6 (SIGABRT) at 0x0000406f (code=-6), thread 16781 (QSGRenderThread)@

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Have you found a solution? I'm seeing a similar error when the back key is pressed even though I do not handle the back key explicitly:

          @
          E/IMGSRV (21013): kickresource.c:1142: Debug assertion failed!
          F/libc (21013): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 21075 (QSGRenderThread)
          @

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved