[Qt-interest] QApplication::Process

Serge mb0 at km.ru
Thu May 27 14:30:28 CEST 2010


Hello,

I need to download a file via HTTP and display progressDialog.
While file is downloaded procedure is waiting the end of download process:

		while (m_downloading)
			QApplication::processEvents();

this makes 90% processor use

am i using wrong method?
if i would use QEventLoop::loop, would it be better?
Are there any alternatives?

Thank you!



More information about the Qt-interest-old mailing list