[Kde-bindings] Ruby Qt4 + net/http operations

Ruben Fonseca rf at 7syntax.com
Thu Oct 2 09:24:59 UTC 2008


On Wed, 2008-10-01 at 17:17 +0100, Richard Dale wrote:
> On Wednesday 01 October 2008 15:43:06 Ruben Fonseca wrote:
> > On Wed, 2008-10-01 at 13:37 +0100, Richard Dale wrote:
> >
> > So I guess it means I have to port every single library I use to the
> > Qt:: API library? :-(

> Ah ok - I was assuming it was all in your application code. I'm afraid you 
> would have the same problem with other UI tool kits too. So you can either 
> use the Qt::Timer trick to periodically let a Ruby thread run, or maybe run 
> the http stuff in another process using popen() and send the output back to 
> the process over the pipe.

humm I can do exactly the same think with Python Qt4 using QThreads with
no problem... I still think it is a Ruby thread support problem :) Guess
I'll wait for Ruby 1.9?

Ruben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20081002/f05e83d0/attachment.sig>


More information about the Kde-bindings mailing list