[Qt-interest] Break an infinite loop in the qt event loop.

Alexandre Beraud aberaud at infflux.com
Tue Aug 24 11:15:11 CEST 2010


  Yes you can, with signals and slots. Emit a signal from the thread and 
modify the widget in the slot located in the main thread.

Regards,

Alex

PS: maybe there should be a little sleep() in the main loop.


Le 24/08/2010 10:33, Gopalakrishna Bhat a écrit :
> I cannot transfer the control from the main thread since it has to do 
> something on the a different widget.

-- 
Alexandre BERAUD
Ingénieur Développement

Infflux - Informatique&  Flux
Tel: 01 49 57 92 00 - Fax : 01 49 57 92 01
Mail: aberaud at infflux.com
Visitez notre site :  www.infflux.com




More information about the Qt-interest-old mailing list