PDA

View Full Version : setWindowOpacity is not working in Linux Cent OS



ashif
23rd June 2011, 08:52
Hi,

setWindowOpacity is not working in Linux Cent OS,
This is the code, which i done, It works fine in Ubundu, but not in cent OS. Please help me to solve this


#include <QtCore>
#include <QWidget>
#include <QApplication>

int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWidget* splashScreen = new QWidget( 0, Qt::FramelessWindowHint );
splashScreen->setWindowOpacity( .5 );
splashScreen->show();
return a.exec();
}


Thanks
Ashif

wysota
23rd June 2011, 14:45
Do you have a compositing window manager?