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

WebAssembly: QWindow as html element

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.4
    • None
    • QPA
    • None

      Today, QScreen is a first-class html element: either a canvas or a container element. The application's windows are not present in the html structure. This is unlike other platforms where QWindow is backed by some native window/view type.

      We can implement a mode where each QWindow is backed by a native html element:

      • Qt windows: a canvas element, which the browser will composit. This enables mixing raster and OpenGL QWindows.
      • Foreign windows: a video or iframe element, for QtMultimedia and QWebView use cases

      What about QScreen? Two options:

      • The container elements(s) provided to qtloader becomes the QScreen(s)
      • Implicit QScreen: the top-level body element is the (one and only) QScreen

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

            mikolaj.boc Mikołaj Boc (Inactive)
            sorvig Morten Sørvig
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Tor Arne Vestbø Tor Arne Vestbø
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes