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

Android: Create a native view container

    XMLWordPrintable

Details

    Description

      We need a way to embed native content in Qt, e.g. for WebView, multimedia, etc.

      For QML, it would in theory be possible to redirect painting to a texture and use this as a node in the graph, but this would fail for WebViews containing video (since the video is a separate SurfaceView) and it would not solve the issue of texture-less multimedia. It would also require linking together the two event loops to propagate input events from Qt to Android, which can be a real pain.

      It might be possible to create a place for the view in the QtLayout, so that it stacks on top of Qt's SurfaceView. I'm not sure how this will work for things like the video in WebView, which is already in a SurfaceView behind the WebView. It is possible that the stacking will be out of our hands in cases like that.

      Attachments

        Issue Links

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

          Activity

            People

              stromme Christian
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              12 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes