May 31, 2012

Nosf Nosf
Lab Rat
60 posts

QT 4.8 and gif image support

 

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 [qt-project.org] <- 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?

3 replies

May 31, 2012

1+1=2 1+1=2
Hobby Entomologist
309 posts

IIRC, nothing special need to do.

Download the source code, then

  1. configure
  2. nmake

June 1, 2012

Nosf Nosf
Lab Rat
60 posts

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

June 1, 2012

1+1=2 1+1=2
Hobby Entomologist
309 posts

Change into the plugin directory, then run

  1. qmake
  2. nmake

 
  ‹‹ Phonon::MediaObject finished() not emitted all the time      Vertical spacing of items in a QGridLayout ››

You must log in to post a reply. Not a member yet? Register here!