Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138913

QOpenGLWidget examples do not work on iPad/iOS

XMLWordPrintable

    • iOS/tvOS/watchOS

      The examples HelloGL2 and 2DPainting do not work when built for iOS. The examples were built using the qt.toolchain.cmake file for iOS and installed on an iPad running iOS 18.5. When the examples are run the screen goes black and in debug mode the following errors are present.

      OpenGL ES calls are not allowed while an application is backgrounded

      QRhiGles2: Failed to make context current. Expect bad things to happen.

      Failed to create QRhi for QBackingStoreRhiSupport

      This affects all examples using the QOpenGLWidget class. The examples using QOpenGLWindow (e.g. HelloGLES3) do work. The error is also present when running on iOS 17.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.graphics.and.multimedia Qt Graphics Team
            natwalker Nathan Walker
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes