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

WASM: QWidget & QWindow can't be fully transparent like desktop platforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.5.3, 6.6
    • 6.5.1
    • QPA: WebGL
    • None
    • Emscripten 3.1.25
    • WebAssembly

      If I make a QWidget or QWindow fully transparent[1], I can always see a white background with one line text "XXX Reader", which blocks me from seeing through the QWidget/QWindow. Is it impossible to do such thing on WebAssembly?

       

       [1] For QWidget, I enabled Qt::FramelessWindowHint and Qt::WA_TranslucentBackground, for QWindow, I set the clear color to Qt::transparent. This works fine on desktop platforms.

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

            mikolaj.boc Mikołaj Boc (Inactive)
            wangwenx190 赵 宇航
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes