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

The background cannot be transparent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.10
    • None
    • win11
    • Windows

    Description

      I am doing mixed development of MFC and Qt components. I ran the following example https://github.com/qtproject/qt-solutions/tree/master/qtwinmigrate/examples/winwidget
      When testing the Qt component embedded in the Windows standard window, the background cannot be transparent. If the QWinWidget is set to transparent, the display on the form will turn black. This is normal in a pure Qt program, but there will be problems when mixed with Windows standard components or MFC. Can this problem be solved? I want to make the QWinWidget background transparent

      Attachments

        1. 12.png
          12.png
          27 kB
        2. QQ图片20250113141152.png
          QQ图片20250113141152.png
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            afeng huang weifeng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes