Cant Able to View the Gif with transparent background // ISSUE ON RASPBERRY PI
Unsolved
General and Desktop
-
'''
QMovie*movie=new QMovie(":/new/prefix1/somegif.gif"); //play GIF auto label=new QLabel(); label->resize(800,480); qDebug() << "test2"; label->move( 800,300); label->setWindowFlags(Qt::FramelessWindowHint); label->setAttribute(Qt::WA_TranslucentBackground); label->setStyleSheet("QLabel{background:transparent;}"); label->setAttribute(Qt::WA_NoSystemBackground,true); label->setAttribute(Qt::WA_TranslucentBackground,true); label->setMovie(movie); label->show(); movie->start();''''```
In My Pc Its works with transparent Background While in Raspberry Pi Its not Works in Gentle, i have the Black colour Display in the Back ground instead of transparent , How to remove this and make the Gif to be Transparent with background .