To be effective, processEvents() should be called from within the blocking function; in this case doNetworkCheck().
If there is to much delay in doNetworkCheck(), then maybe you should consider running it in its own thread.
To be effective, processEvents() should be called from within the blocking function; in this case doNetworkCheck().
If there is to much delay in doNetworkCheck(), then maybe you should consider running it in its own thread.
Thanks for reply.
Found solution. So yeah I think threading is the general solution here unfortunately. In my case since Im calling executable processes and waiting for return I can use QProcess, and connect the finished() signal to a handler. I had not realized QProcess could be used like this.
Thanks.
Bookmarks