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. QT 4.8 and gif image support
Forum Update on Tuesday, May 27th 2025

QT 4.8 and gif image support

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 6.4k 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.
  • N Offline
    N Offline
    Nosf
    wrote on last edited by
    #1

    Hey Guys,

    I recently switched from static to shared lib build and first thing in 4.8.2 I saw was my gif image in a label (animated gif) was not appearing.

    The image returns invalid.

    Checking the configure options,

    -qt-gif (has been removed from 4.8)

    "Configure Options 4.8":http://qt-project.org/doc/qt-4.8/configure-options.html <- Seems Incorrect

    Now building QT configure output shows

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin

    however once building it I only see empty folders created inside the qt src dir\plugins

    I guess I need to take the plugin dll's to my app executable folder as well for GIF support but I cant seem to figure out where they are or if they failed to build.

    Is there anything particular to pass in the configure / nmake command to request building plugins?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dbzhang800
      wrote on last edited by
      #2

      IIRC, nothing special need to do.

      Download the source code, then
      @
      configure
      nmake
      @

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nosf
        wrote on last edited by
        #3

        Yeh that would sort it too, but that also builds everything with default configure.

        I was just building specific libraries with nmake sub-***

        Just needed to add sub-plugins

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dbzhang800
          wrote on last edited by
          #4

          Change into the plugin directory, then run
          @
          qmake
          nmake
          @

          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