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

Qt5 transparent is black without aero on Win7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.7.1
    • Quick: Other
    • None
    • Windows 7 64 bit with Qt 5.7 MinGW

      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" }

      }

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes