Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cant Able to View the Gif with transparent background // ISSUE ON RASPBERRY PI
Forum Updated to NodeBB v4.3 + New Features

Cant Able to View the Gif with transparent background // ISSUE ON RASPBERRY PI

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 505 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sankarapandiyanS Offline
    sankarapandiyanS Offline
    sankarapandiyan
    wrote on last edited by sankarapandiyan
    #1

    '''

    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 .

    alternate text

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved