[Qt-interest] QHttp (and propably event loop) on OS X (Qt 4.4.3)
Brad Howes
howes at ll.mit.edu
Tue Mar 3 18:01:33 CET 2009
On Mar 3, 2009, at 9:43 AM, sebastian richter wrote:
> However, on OS X this doesn't work at all. The first QHttp request in
> the loader threads (which is QHttp::setHost()) even never starts, thus
> the timeout is fired.
> loader run() : setHostId : 1 // id returned by
> QHttp::setHost()
> loader run() : getId : 2 // id returned by
> QHttp::get()
Did you start an event loop in loader::run()?
Also, this seems artificially complex to me, and I like to use threads
with sockets.
Brad
--
Brad Howes
Group 42
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420
More information about the Qt-interest-old
mailing list