Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2129

QWidget::createWindowContainer has transparent area.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.2.4
    • PySide
    • None
    • Windows 10 21H2 & 22H2.
    • Windows

      When usingĀ 

      QWindow::fromWinId(wid);
      QWidget::createWindowContainer(window, container, Qt::Widget);
      

      to embed a PySide2/6 window into a C++ window, would create a strange transparent area. Like this,

      The parent widget has a red background with auto fill background on. The window container widget does not have any background. The embedded window does not fullfill the container widget as expected. C++ and Python source code attached.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kreogist Miyanaga Saki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes