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

Qt5 transparent is black without aero on Win7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.7.1
    • Fix Version/s: None
    • Component/s: Quick: Other
    • Labels:
      None
    • Environment:
      Windows 7 64 bit with Qt 5.7 MinGW

      Description

      When creating a transparent application window, the window appears as black instead of transparent. The problem happens on Win XP and Win 7 computers. If the aero theme is set it seems to work. However setting the aero theme individually on each computer is not a solution for deployment.

      ApplicationWindow {
      visible: true
      width: 640
      height: 480
      title: qsTr("Hello World")

      color:"transparent"

      Rectangle

      { width: 150 height: 150 color:"red" }

      }

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              smd Jan Arve
              Reporter:
              alecs26 Alexandre Lecours
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes