Andreas
Qt
Posted by Andreas
 in Qt
 on Tuesday, July 26, 2005 @ 16:22

We received some comments on how our network examples in Qt 4.0 are too simplistic, and how 4.0 could do better at showing how to put it all together. So for Qt 4.1, I’ve thrown in the source code for a complete BitTorrent client based on Qt 4.1. Here’s a screenshot showing the app in action, in Plastique style:

The BitTorrent example, in Plastique style

Surprisingly, it’s only about 5000 lines of code. It uses about 10-15MB of RAM and very little (<5%) of my system resources. It’s also got upload/download rate limiting and the standard BitTorrent features like optimistic unchoking and a tit-for-a-tat algorithm for rewarding its best uploaders with good downloads. Sweet… :-)

3 Responses to “Qt 4.1 to include a BitTorrent network example”

» Posted by clee
 on Wednesday, August 03, 2005 @ 23:41

I want to play with it! :) Where’s the source?

» Reply from Andreas
 on Thursday, August 04, 2005 @ 06:31
Andreas

Look out for the 4.1 snapshots! Which reminds me… I’ve got to get around to documenting the thing :-).

» Posted by Mathieu
 on Thursday, August 04, 2005 @ 19:37

yay!!! Now the US gov will have more reason to push for gtk+