[Kget] [Bug 312538] New: Does not build with libktorrent master

Christoph Feck christoph at maxiom.de
Thu Jan 3 14:52:12 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=312538

            Bug ID: 312538
           Summary: Does not build with libktorrent master
    Classification: Unclassified
           Product: kget
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: CONFIRMED
          Severity: normal
          Priority: NOR
         Component: torrent
          Assignee: kget at kde.org
          Reporter: christoph at maxiom.de

It's API breaking time again :)

Review request: https://svn.reviewboard.kde.org/r/7053/
Please test

Error is:

-- Build files have been written to: /local/build/KDE/kdenetwork
/local/svn/kde/trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:
In member function 'void BTTransfer::updateTorrent()':
/local/svn/kde/trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:314:86:
warning: operation on
'((BTTransfer*)this)->BTTransfer::<anonymous>.Transfer::m_downloadedSize' may
be undefined [-Wsequence-point]
/local/svn/kde/trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:
In member function 'void BTTransfer::btTransferInit(const KUrl&, const
QByteArray&)':
/local/svn/kde/trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:455:136:
error: no matching function for call to 'bt::TorrentControl::init(int, QString,
QStringBuilder<QString, QString>, QString)'
/local/svn/kde/trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:455:136:
note: candidate is:
In file included from
/local/svn/kde/trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.h:15:0,
                 from
/local/svn/kde/trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:12:
/local/kde4/include/libktorrent/torrent/torrentcontrol.h:87:8: note: void
bt::TorrentControl::init(bt::QueueManagerInterface*, const QByteArray&, const
QString&, const QString&)
/local/kde4/include/libktorrent/torrent/torrentcontrol.h:87:8: note:   no known
conversion for argument 2 from 'QString' to 'const QByteArray&'
make[2]: ***
[kget/transfer-plugins/bittorrent/CMakeFiles/kget_bittorrentfactory.dir/bttransfer.o]
Error 1
make[2]: Target
`kget/transfer-plugins/bittorrent/CMakeFiles/kget_bittorrentfactory.dir/build'
not remade because of errors.
make[1]: ***
[kget/transfer-plugins/bittorrent/CMakeFiles/kget_bittorrentfactory.dir/all]
Error 2
automoc4: empty source file:
/local/svn/kde/trunk/KDE/kdenetwork/kopete/protocols/sms/ui/empty.cpp
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
-- Failed: KDE/kdenetwork

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kget mailing list