[Qt-interest] Showing Image On QT-3.1 Form

niranjan niranjank at axistech.com
Fri Dec 11 07:15:59 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