If you want your application to be responsive while the wget runs then don't call the blocking function QProcess::waitForFinished():
The system() call would block just the same.Warning: Calling this function from the main (GUI) thread might cause your user interface to freeze.
You can download a file from the network entirely inside your Qt code, so why use an external process at all?




Reply With Quote
Bookmarks