[Qt-interest] QMovie->supportedFormats() returns () on embedded arm machine
Klaus.Fuerth@ELK.de
Klaus.Fuerth at elk.de
Tue Dec 14 12:59:17 CET 2010
Hello,
I tried to use an aniated gif on my arm embedded system
(qt-everywhere-opensource-src-4.6.3). The animation works fine on my
host machine (linux), on my target it does not work.
I used this code:
> QMovie *movie = new QMovie(":Bilder/test.gif", QByteArray(),
> ui->animationLabel);
> qDebug() << "Supported Formats:" << movie->supportedFormats();
> ui->animationLabel->setMovie(movie);
> movie->start();
> ui->animationLabel->resize((QSize)(movie->currentImage().size()));
I get this output when starting my program on the embedded system:
> Supported Formats: ()
On my Linux-host I get:
> Supported Formats: ("gif", "mng")
I configured qt with the -qt-gif option for the embedded machine. Do I
need any other (external) dependencies to get it work (or any other
configure-options)?
Thank you.
Klaus
More information about the Qt-interest-old
mailing list