Back to Blog home

Qt 4.1 to include a BitTorrent network example

Published on Tuesday July 26, 2005 by Andreas Aardal Hanssen in Qt | Comments

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... :-)

Subscribe to Our Blog

Stay up to date with the latest marketing, sales and service tips and news.

The blog comment system has been migrated to a new platform. If you face any issues, please let us know via