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. Gifs are not displayed on the QT app ARM64 with no errors
Qt 6.11 is out! See what's new in the release blog

Gifs are not displayed on the QT app ARM64 with no errors

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    jawad_soft
    wrote on last edited by
    #1

    Hi,

    I am developing a QT application which will be integrated into a linux device under arm64 with a screen, which integrates some Qpushbuttons and Qlabel. In some Qlabel I add Gifs like this:

        m_stateLive = new QLabel();
        m_stateLive->setFixedSize(52,52);
        stateLiveGif = new 
        QMovie(":/images/images/test.gif");
        m_stateLive->setMovie(stateLiveGif);
        stateLiveGif->start();
        proxy1 = new QGraphicsProxyWidget();
        proxy1->setWidget(m_stateLive);
        scene.addItem(proxy1);
        .
        .
        .
        m_ui->ui_graphicsView->setScene(&scene);
    

    When i compile the QT application in DESKTOP version, it work very well, i can see the GIF animated, But when i CROSS-COMPILE for ARCH64, The QT application work fine with all button.. but the Gifs are not diplayed in any situation, i don't now why, when i cross compile, there was no error, and also in my LOG data when application are running in linux arm64 device

    Some one have any idea why Gifs are not displayed ? thanks.

    raven-worxR 1 Reply Last reply
    0
    • J Offline
      J Offline
      jawad_soft
      wrote on last edited by
      #4

      Find solution ! Finally i add libqgif.so in my arch64 device in the right folder /usr/lib/plugins/imageformats ! Thanks again @raven-worx

      1 Reply Last reply
      0
      • J jawad_soft

        Hi,

        I am developing a QT application which will be integrated into a linux device under arm64 with a screen, which integrates some Qpushbuttons and Qlabel. In some Qlabel I add Gifs like this:

            m_stateLive = new QLabel();
            m_stateLive->setFixedSize(52,52);
            stateLiveGif = new 
            QMovie(":/images/images/test.gif");
            m_stateLive->setMovie(stateLiveGif);
            stateLiveGif->start();
            proxy1 = new QGraphicsProxyWidget();
            proxy1->setWidget(m_stateLive);
            scene.addItem(proxy1);
            .
            .
            .
            m_ui->ui_graphicsView->setScene(&scene);
        

        When i compile the QT application in DESKTOP version, it work very well, i can see the GIF animated, But when i CROSS-COMPILE for ARCH64, The QT application work fine with all button.. but the Gifs are not diplayed in any situation, i don't now why, when i cross compile, there was no error, and also in my LOG data when application are running in linux arm64 device

        Some one have any idea why Gifs are not displayed ? thanks.

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by raven-worx
        #2

        @jawad_soft
        does your Qt cross-compilation have a "plugins/imageformats/libqgif.so" plugin in its output?
        Also check the output of QImageReader::supportedImageFormats()

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        2
        • J Offline
          J Offline
          jawad_soft
          wrote on last edited by jawad_soft
          #3

          Hi @raven-worx ,

          Thanks for reply !

          I did not find "plugins/imageformats/libqgif.so" in the outpout of my cross compilation, but i find "libqgif.so" in the repository of my cross compilator "...plugins/imageformats/libqgif.so"

          Output QImageReader::supportedImageFormats() =>

          QImageReader ("bmp", "jpeg", "jpg", "pbm", "pgm", "png", "ppm", "xbm", "xpm")
          
          

          what should i do so to add the gif ?

          Thanks.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jawad_soft
            wrote on last edited by
            #4

            Find solution ! Finally i add libqgif.so in my arch64 device in the right folder /usr/lib/plugins/imageformats ! Thanks again @raven-worx

            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