Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Assertion when closing an iOS app

    Mobile and Embedded
    2
    3
    127
    Loading More Posts
    • 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.
    • M
      Marc_Van_Daele last edited by

      When running my app (Qt 5.12.4, QtCreator 4.9.2, Xcode 11.0) on an actual iOS device (iPhone XR 13.1.3), I get the following exception when closing the app (swiping up the app)

      Fatal: ASSERT failure in QIOSContext: "OpenGL ES calls are not allowed while an application is backgrounded", file qioscontext.mm, line 337
      

      Is this an application issue (ie. my fault somehow) or is it a Qt bug?

      M 1 Reply Last reply Reply Quote 0
      • M
        mvuori @Marc_Van_Daele last edited by

        If you hag googled with qt bug and the error message you would have found
        'ASSERT failure in QIOSContext: “OpenGL ES calls are not allowed while an application is backgrounded”'

        https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-76961

        1 Reply Last reply Reply Quote 1
        • M
          mvuori @Marc_Van_Daele last edited by

          If you hag googled with qt bug and the error message you would have found
          'ASSERT failure in QIOSContext: “OpenGL ES calls are not allowed while an application is backgrounded”'

          https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-76961

          1 Reply Last reply Reply Quote 1
          • M
            Marc_Van_Daele last edited by

            My bad. Sorry for this.
            Thanks anyway for pointing me to the bug. That's appreciated!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post