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. Assertion when closing an iOS app
Forum Updated to NodeBB v4.3 + New Features

Assertion when closing an iOS app

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 295 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.
  • M Offline
    M Offline
    Marc_Van_Daele
    wrote on last edited by
    #1

    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
    0
    • M Marc_Van_Daele

      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 Offline
      M Offline
      mvuori
      wrote on last edited by
      #2

      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
      1
      • M Offline
        M Offline
        Marc_Van_Daele
        wrote on last edited by
        #3

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

        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