Skip to content

nangongyuan/qBittorrent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qBittorrent - A BitTorrent client in Qt

GitHub Actions CI Status Coverity Status


Description:

qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.

It aims to be a good alternative to all other bittorrent clients out there. qBittorrent is fast, stable and provides unicode support as well as many features.

The free IP to Country Lite database by DB-IP is used for resolving the countries of peers. The database is licensed under the Creative Commons Attribution 4.0 International License.

Installation:

Refer to the INSTALL file.

Public key:

Starting from v3.3.4 all source tarballs and binaries are signed.
The key currently used is 4096R/5B7CC9A2 with fingerprint D8F3DA77AAC6741053599C136E4A2D025B7CC9A2.
You can also download it from here.
PREVIOUSLY the following key was used to sign the v3.3.4 source tarballs and v3.3.4 Windows installer only: 4096R/520EC6F6 with fingerprint F4A5FD201B117B1C2AB590E2A1ACCAE4520EC6F6.

Misc:

For more information please visit: https://www.qbittorrent.org

or our wiki here: https://wiki.qbittorrent.org

Use the forum for troubleshooting before reporting bugs: https://forum.qbittorrent.org

Please report any bug (or feature request) to: https://bugs.qbittorrent.org

Official IRC channel: #qbittorrent on irc.libera.chat


sledgehammer999 <sledgehammer999@qbittorrent.org>

环境配置

安装VS2022 安装vcpkg

cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="E:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET="x64-windows-static-release" -DMSVC_RUNTIME_DYNAMIC=OFF

vcpkg.cmake根据目录自己修改 -DVCPKG_TARGET_TRIPLET="x64-windows-static-release" vcpkg安装的版本,库会被安装在build/vcpkg_installed目录 -DCMAKE_BUILD_TYPE=Release 编译release版本

cmake生成vs的解决方案之后,用vs打开编译

5>H:\qBittorrent\src\app\stacktrace.cpp(31,10): error C1083: 无法打开包括文件: “boost/stacktrace.hpp”: No such file or directory 需要安装boost-stacktrace,在vcpkg.json中添加boost-stacktrace 或者直接注释

#include "stacktrace.h"

//#include <boost/stacktrace.hpp>

std::string getStacktrace()
{
    //return boost::stacktrace::to_string(boost::stacktrace::stacktrace());
    return "";
}

qwindows.lib(qwindowsintegration.cpp.obj) : error LNK2038: 检测到“_COROUTINE_ABI”的不匹配项: 值“1”不匹配值“2”(qbt_base.lib(sessionimpl.obj) 中) Qt 与 STL 协程似乎存在冲突 _ALLOW_COROUTINE_ABI_MISMATCH 预处理器变量之后,现在它可以编译了

About

qBittorrent BitTorrent client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.2%
  • JavaScript 14.0%
  • HTML 11.4%
  • Python 1.1%
  • CSS 0.8%
  • CMake 0.7%
  • Other 0.8%