Bug 261494 - kdenetwork: kget bittorrent factory 'InitLibKTorrent' is not a member of 'bt'
Summary: kdenetwork: kget bittorrent factory 'InitLibKTorrent' is not a member of 'bt'
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: torrent (show other bugs)
Version: unspecified
Platform: Compiled Sources macOS
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-28 22:28 UTC by Jeremy Lavergne
Modified: 2010-12-30 13:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Lavergne 2010-12-28 22:28:02 UTC
Version:           unspecified (using KDE 4.5.90) 
OS:                OS X

Compiler complains that InitLibKTorrent is not part of bt.

Relevant line:
kget/transfer-plugins/bittorrent/bttransferfactory.cpp:31:
    if (!bt::InitLibKTorrent())


Reproducible: Always

Steps to Reproduce:
Build in MacPorts

Actual Results:  
Build fails.

Expected Results:  
Successful build.

/opt/local/var/macports/build/_Users_aeetes_kde_kdenetwork4/work/kdenetwork-4.5.90/kget/transfer-plugins/bittorrent/bttransferfactory.cpp: In constructor 'BTTransferFactory::BTTransferFactory(QObject*, const QVariantList&)':
/opt/local/var/macports/build/_Users_aeetes_kde_kdenetwork4/work/kdenetwork-4.5.90/kget/transfer-plugins/bittorrent/bttransferfactory.cpp:31: error: 'InitLibKTorrent' is not a member of 'bt'
make[2]: *** [kget/transfer-plugins/bittorrent/CMakeFiles/kget_bittorrentfactory.dir/bttransferfactory.o] Error 1
Comment 1 Christoph Feck 2010-12-28 22:54:00 UTC
Which version of libktorrent are you using?
Comment 2 Jeremy Lavergne 2010-12-28 22:54:53 UTC
libktorrent @1.0.4
Comment 4 Matthias Fuchs 2010-12-30 13:48:00 UTC
It was also fixed in branch, so should be in 4.6.
http://websvn.kde.org/branches/KDE/4.6/kdenetwork/kget/transfer-plugins/bittorrent/bttransferfactory.cpp?r1=1208598&r2=1209132