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

Ruben Fonseca rf at 7syntax.com
Wed Oct 1 14:43:06 UTC 2008


On Wed, 2008-10-01 at 13:37 +0100, Richard Dale wrote:
> On Wednesday 01 October 2008 09:51:21 Ruben Fonseca wrote:
> > but the thread seems to freeze somehow during the network operation
> > (weird..)
> >
> > the other think I've tried was to add the operation to a
> > QTimer.singleShot block. However, while the code is running, the entire
> > GUI is frozen (which I think makes sense).
> >
> > Is it possible to do this kind of stuff with the current Qt4 Ruby
> > bindings?
> Yes, but you need to use the Qt networking classes like Qt::Http and 
> Qt::SocketNotifier which are integrated with the Qt event loop. They are no 
> harder to use than the Ruby Net/Http ones, and I would just convert your 
> calls.

So I guess it means I have to port every single library I use to the
Qt:: API library? :-(

What's currently holding QThread to be ported to Ruby/Qt4 ?

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/20081001/a254bab1/attachment-0001.sig>


More information about the Kde-bindings mailing list