View Single Post
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#5
Originally Posted by attila77 View Post
IIRC the event loop is started with the QApplication::exec - until that point your signals and slots might not work 'as expected', which brings us to another conclusion -> sending signals from main() is usually wrong
thanks for that piece of info attila77, I guess it explains as I "seemed to have solved" the above issue just 30 minutes ago using

app.processEvents()

where app is my QApplication, and the processEvents is processing my pending events which probably didnt execute due to what you mentioned, or maybe ive not understood this well

Anyways, once I did that , it seems to refresh my progressbar for each iteration of the while loop.

But I take your point, thanks.

Last edited by krk969; 2009-12-21 at 00:33.