QMovie sort of working with Qt 4.4rc1, but still an issue
- Date: Fri, 08 Feb 2008 10:46:53 +0100
- From: Erik <esigra@xxxxxxxxx>
- Subject: QMovie sort of working with Qt 4.4rc1, but still an issue
I was pleased to see that QMovie is now sort of working since Qt 4.4rc1 (tested with Gentoo package). See [http://bugs.kde.org/show_bug.cgi?id=142321]. But there seems to be a remaining problem. The animation seems to flicker (becomes completely white for a moment) after the first iteration. Then it seems to run smoothly forever. Anyone else with Qt 4.4 who can reproduce this problem? (Copy the attached animation and the program to a directory, build and run.)
Attachment:
panda.mng
Description: video/mng
main: main.cc g++ -Wall -Wextra -I /usr/include/qt4 -L /usr/lib/qt4/ -l QtGui main.cc -o main clean: @rm -f Makefile~ main.cc~ main
#include <QtGui/qapplication.h>
#include <QtGui/qlabel.h>
#include <QtGui/qmovie.h>
int main(int argc, char * * argv) {
QApplication a(argc, argv);
QMovie movie("panda.mng");
QLabel label;
label.resize(96, 96);
label.setMovie(&movie);
label.show();
movie.start();
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
return a.exec();
}
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
- Follow-Ups:
- Re: QMovie sort of working with Qt 4.4rc1, but still an issue
- From: Thiago Macieira
- Re: QMovie sort of working with Qt 4.4rc1, but still an issue
- Prev by Date: Re: KDE3 krunner always shows on head 1 and forces apps onto that head as well
- Next by Date: Re: KDE3 krunner always shows on head 1 and forces apps onto that head as well
- Previous by thread: Dolphin previews for sound files?
- Next by thread: Re: QMovie sort of working with Qt 4.4rc1, but still an issue
- Index(es):