PDA

View Full Version : Problem Loading GIF



ScoOteR
6th June 2007, 11:01
i've tried to load a gif image in a QImage or QPixmap but it failed



m_pImage = new QPixmap();
bool suc = m_pImage->load(m_strFileName);




m_pImage = new QImage();
bool suc = m_pImage->load(m_strFileName);


please help fellows

high_flyer
6th June 2007, 11:06
make sure your qt is configured with the gif plugin

jpn
6th June 2007, 11:08
GIF support is disabled by default due to license issues. You will have to recompile Qt with GIF support turned on. See "configure -help" for more details.

Edit: Sorry, my intention was not to repeat. :p

high_flyer
6th June 2007, 11:09
I was actually considering asking the trolls why is this still so, since the patent for GIF is expired.