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

Android: QGLWidget not supported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0
    • 5.2.0 Beta1
    • QPA
    • None
    • Android
    • 8a9bd001c947e6888d37e99fc456339fd2b51b36

    Description

      Multiple OpenGL windows (example: combo box popups in Qt Quick Controls) and using non-toplevel QGLWidgets (example: using it as a viewport for QGraphicsView) is not supported on Android currently, and will cause crashes if you try it.

      This is an inherent limitation in the eglfs plugin.

      The following attempt at fixing it was tried and abandoned:
      https://codereview.qt-project.org/#change,66706

      Another possible fix would be to use different SurfaceViews for the top levels and let Android handle the composition. This would most likely fix several other issues as well if it can be done.

      Attachments

        Issue Links

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

          Activity

            People

              taipan BogDan Vatra
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes