-----Original Message-----
From: interest-bounces+scott.bloom=onshorecs....@qt-project.org 
[mailto:interest-bounces+scott.bloom=onshorecs....@qt-project.org] On Behalf Of 
Thiago Macieira
Sent: Thursday, January 17, 2013 5:27 PM
To: interest@qt-project.org
Subject: Re: [Interest] QNetworkAccessManager in a command line, non-eventloop 
application

On sexta-feira, 18 de janeiro de 2013 00.59.13, Scott Aron Bloom wrote:
> I have a command line application, with no event loop.

We can stop here. QNetworkAccessManager requires an event loop.

But if you're going to block anyway in order to do work, you can use QEventLoop 
to start the event loop until the request finishes.
----------

I don't want to block :)

I would like a background thread and have the request run in there, using the 
QThreads event loop.

Scott
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to