[Qt-interest] showing image on QT widget
niranjan
niranjank at axistech.com
Wed Dec 9 16:29:18 CET 2009
Hi,
I have following scenerio..
Show Image
Wait for 500 milisecond
show image
Wait for 500 milisecond
show image.
I am using qt-3.1 on Linux, and used like following
fm->setPaletteBackgroundPixmap(QPixmap("sample1.jpg"));
QApplication::eventLoop()->processEvents(QEventLoop::AllEvents, 100);
usleep(500);
fm->setPaletteBackgroundPixmap(QPixmap("sample2.jpg"));
QApplication::eventLoop()->processEvents(QEventLoop::AllEvents, 100);
usleep(500);
fm->setPaletteBackgroundPixmap(QPixmap("sample3.jpg"));
Its working but after some time say after 1 day, It gets stucks on the
statement QApplication::eventLoop()->processEvents(QEventLoop::AllEvents,
100);
can anybody tell me, how to resolve this issue.
-Niranjan.
More information about the Qt-interest-old
mailing list