QProgressDialog not responding!
-
Hi
I want to use QProgressDialog in my project. As long as I am not putting QApplication::processEvents() inside the process loop (which significantly slows dows the process) QProgressDialog stops responding.
Any ideas? -
Hi,
One solution is to offload the heavy processing to another thread and use signals and slots to update the progress dialog
Hope it helps
-
Thanks. I was thinking maybe QProgressDialog has solved this internally or something :) Maybe some sort of faster QApplication::processEvents() :)
-
No, there's no shortcut for the event loop. You may ask to exclude some processing but that's all