Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt components display opaque background on MFC
Forum Updated to NodeBB v4.3 + New Features

Qt components display opaque background on MFC

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 122 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    afeng
    wrote on 13 Jan 2025, 04:32 last edited by
    #1

    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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      afeng
      wrote on 13 Jan 2025, 06:14 last edited by
      #2

      QQ图片20250113141152.png

      1 Reply Last reply
      0

      1/2

      13 Jan 2025, 04:32

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved