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
Qt 6.11 is out! See what's new in the release blog

Qt components display opaque background on MFC

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 286 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 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 last edited by
      #2

      QQ图片20250113141152.png

      1 Reply Last reply
      0

      • Login

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