标签 qt5 下的文章

Debian/Ubuntu下编译安装qBittorrent

一、安装依赖环境

1、安装依赖包

apt-get install libboost-dev libboost-system-dev build-essential
apt-get install libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev
apt-get install git pkg-config automake libtool

2、安装Qt5库

apt-get install qtbase5-dev qttools5-dev-tools

3、安装python和GeoIP数据库

apt-get install python
apt-get install geoip-database

二、安装Libtorrent

1、下载Libtorrent包并打开

git clone https://github.com/arvidn/libtorrent.git
cd libtorrent

2、选择1.0.*分支编译安装

git checkout RC_1_0
./autotool.sh
./configure --disable-debug --enable-encryption --prefix=/usr --with-libgeoip=system
make clean && make
make install

- 阅读剩余部分 -