Meenakshi
29th June 2015, 06:02
Hi,
I have created a simple qt transparent application in qt 5.2.1.
The application works fine in ubuntu 12.04 32 bit operating system. When the same application is executed on RHEL 6.6 64 bit, the result is that I am getting a black background.
Can anyone please help me to create a simple qt transparent application on rhel 6.6 (qt 5.2.1)
The code snippet is as below:
setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
setAttribute(Qt::WA_TranslucentBackground);
Thanks in advance
I have created a simple qt transparent application in qt 5.2.1.
The application works fine in ubuntu 12.04 32 bit operating system. When the same application is executed on RHEL 6.6 64 bit, the result is that I am getting a black background.
Can anyone please help me to create a simple qt transparent application on rhel 6.6 (qt 5.2.1)
The code snippet is as below:
setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
setAttribute(Qt::WA_TranslucentBackground);
Thanks in advance