Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14391

Implement a BitTorrent backend for QNetworkAccessManager

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 4.6.2
    • Network
    • None

    Description

      ========================================================================
      library usage scenario
      ========================================================================
      using an adaption of the torrent example for my own code is not complicated, as my coreapplication shows [1].

      in contrast:
      the gui example is a very good and complete example of how to use the torrent subsystem but lacks easy copy'n'paste factor one is used to when programming qt.

      see:
      torrent-guiless.pro
      main-nogui.cpp
      coreapplication.cpp
      coreapplication.h

      which has a console frontend only. handy for integration into your project - can be copied to any project with just a few lines of code.

      build with:
      make distclean
      qmake torrent-guiless
      make
      ./torrent-guiless

      IMPLEMENTED:

      • foobar.torrent and directory can be supplied using the command line
      • qsettings resume support
      • i've changed the default upload/download rates already (see git log)
      • i've also added support for compiling with QT_NO_CAST_FROM_BYTEARRAY and QT_NO_CAST_TO_ASCII

      WISH: please create a QTorrent class (as you did with QHTTP) for library usage
      WISH: please consider using this codebase as lightweight example.
      LEGAL: you can use the same copyright for my code as it is used with the torrent example already.

      [1] git@github.com:qknight/torrent.git

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              qknight Joachim Schiele
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes