I have a transparent application window in Qt. This windows contains elements such as rectangles and buttons. On some computers, everything works fine (the main window is transparent and I see the items on the window). On other computers, instead of being transparent, the window is black.
Important: Transparency seems to work if the transparent object is a rectangle but not if its the ApplicationWindow.
1) I know these other computers can manage transparency because I tried other commercial software with transparency and it works. I just don't know how to do it with Qt 5.
2) Worst case scenario: I guess it's related to the graphic card. In my software, could I ask if the graphic card has the required specs (I don't know what spec is required for transparency) ? How could I do that ?
Here is a simple code to reproduce the problem:
ApplicationWindow {
visible: true
width: 640
height: 480
title: qsTr("Hello World")
color:"transparent"
Rectangle
{
width: 150
height: 150
color:"red"
}
}
Thank you very much,
Alex