Hi,
I am using Qt4. My application has a main thread and one more thread running continuously to read data from file. This thread invokes postEvent to particular object. After receiving the the event in customEvent method of respective object, it calls QDialog::Exec function to display dialog. when this Exec is called again through thread i am using QWidget::close() fn to QDialog object before calling QDialog::Exec method. After this QDialog::exec() fn executed. I am getting
QDialog::exec() :recursive call detected.
Why close function is unable to stop the event loop. How to handle this issue?
Regards,
node_ex.
Bookmarks