PDA

View Full Version : Event loop not redirecting event from postEvent() to customEvent()



node_ex
23rd October 2008, 13:43
Hi,

I am facing a typical issue. My application has two threads.
Main thread is suspended by calling exec() function.
child thread sends event by calling qApp->postEvent() function.
For normal conditions app.exec() receives qApp->postEvent() and send to customEvent() method.
When applciation is kept idle for 20+ minutes event loop is not redirecting event from postEvent() to customEvent() method.

I am using Qt4. I am running this application on armel platform.

Regards,
node_ex.