mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-03 02:40:23 -08:00
Page:
Compilation MSVC 10.0 (dynamic linkage)
Pages
Alternate WebUI usage
Anonymous Mode
Compilation Alpine Linux
Compilation CentOS 7.x
Compilation CentOS 8.x
Compilation Debian, Ubuntu, and derivatives
Compilation Debian and Ubuntu
Compilation FreeBSD (no GUI)
Compilation Fully static binaries on Linux (glibc or musl)
Compilation MSVC 10.0 (dynamic linkage)
Compilation MSVC 2010 (x86_64) (dynamic linkage)
Compilation MSVC 2013 (static linkage)
Compilation MSVC 2013 (x86_64) (dynamic linkage)
Compilation Raspberry Pi OS and DietPi
Compilation Raspbian for LeMaker Banana Pro
Compilation Windows (MSVC 2019, 64 bit, static linkage)
Compilation macOS (x86_64, arm64, cross compilation)
Compilation macOS
Compilation with CMake common information
Create custom themes for qBittorrent
Developing alternate WebUIs (WIP)
Disable connections not supported by proxies
External programs How to
External programs savecategory
Home
How to Disable DHT, PeX, and LPD
How to bind your vpn to prevent ip leaks
How to convert base32 to base16 info hashes
How to debug the WebUI code
How to diagnose IO error, BSOD, crash (Windows)
How to diagnose IO errors
How to diagnostic IO error, BSOD, crash [GNU Linux, BSD, etc.]
How to disable auto seed
How to translate qBittorrent
How to use MaxMind's GeoIP database
How to use custom UI themes
How to use portable mode
How to use qBittorrent as a tracker
I forgot my UI lock password
IIS ARR Reverse Proxy
Installing qBittorrent
Linux WebUI HTTPS with Let's Encrypt & Caddy2 reverse proxy
Linux WebUI HTTPS with Let's Encrypt certificates and NGINX SSL reverse proxy
Linux WebUI setting up HTTPS with Let's Encrypt certificates
Linux WebUI setting up HTTPS with self signed SSL certificates
List of known alternate WebUIs
List of known qBittorrent themes
List of unofficial WebAPI clients
NGINX Reverse Proxy for Web UI
Obsolete compilation guides
OpenVPN and qBittorrent without X server
Running qBittorrent without X server (WebUI only)
Running qBittorrent without X server (WebUI only, systemd service set up, Ubuntu 15.04 or newer)
Setup GDB with Qt pretty printers
Status of Missing files at start up or after restart
Things we need to know to help you with 'speed' issues
Traefik Reverse Proxy for Web UI
Unofficial search plugins
Using VSCode for qBittorrent development
Web UI password locked on qBittorrent NO X (qbittorrent nox)
WebUI API (qBittorrent 4.1)
WebUI API (qBittorrent v3.1.x)
WebUI API (qBittorrent v3.2.0 v4.0.4)
What is a bug
qBittorrent is not downloading or uploading Is it slow
0
Compilation MSVC 10.0 (dynamic linkage)
Chocobo1 edited this page 2024-05-01 17:13:13 +08:00
Table of Contents
OUTDATED
We are building qBittorrent on Windows with MSVC compiler instead of MinGW. This choice was made because [http://www.mingw.org/wiki/wide_characters MinGW does not support wide characters]. MSVC compiler also generates smaller executables than MinGW.
- Download and install [http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual C++ 2010 Express]
- Download and install [http://qt-windows-binaries.googlecode.com/svn/site/QtWindowsBinaries Qt binaries compiled with MSVC] (not compiled with MinGW)
- Add MSVC and Qt bin/ folders (''C:\Qt\4.8.2\bin'' and ''C:\Program Files\Microsoft Visual Studio 10.0\VC\bin'') to the ''PATH'' environment variable
- Download [http://downloads.sourceforge.net/project/boost/boost-jam/3.1.18/boost-jam-3.1.18-1-ntx86.zip?use_mirror=freefr Boost Jam] (bjam) and [http://sourceforge.net/projects/boost/files/boost/1.51.0/boost_1_51_0.zip/download Boost library] (v1.42-1.51 are known to work) and unzip them
- Compile boost using the following command in a terminal (bjam must be in the PATH) bjam -q --with-filesystem --with-thread --toolset=msvc variant=release link=static runtime-link=shared
- Define ''BOOST_ROOT'' environment variable and point to the boost source folder (you will need to close and reopen your terminal window after that)
- Download [http://www.slproweb.com/download/Win32OpenSSL-0_9_8x.exe OpenSSL v0.9.x] and install it
- Copy OpenSSL include folder (''C:\OpenSSL\include\openssl'') to MSVC include/ folder (''C:\Program Files\Microsoft Visual Studio 10.0\VC\include'')
- Download [http://code.google.com/p/libtorrent/downloads/detail?name=libtorrent-rasterbar-0.16.5.tar.gz&can=2&q= libtorrent] and extract it (v0.14.10-v0.16.0svn are known to work)
- Compile libtorrent using the following command in a terminal: bjam -q --without-python --toolset=msvc variant=release link=static runtime-link=shared logging=none geoip=static dht-support=on boost=source define="BOOST_FILESYSTEM_VERSION=2" encryption=openssl
- Download a recent qBittorrent ** GIT repository is located at ''git://github.com/cdumez/qBittorrent.git'' ** Tarballs are available from sourceforge [http://sourceforge.net/projects/qbittorrent/files/qbittorrent/ here]
- Download and install [http://qt.nokia.com/downloads/qt-creator-binary-for-windows Qt Creator IDE] ** Configure Qt Creator to use Qt-msvc
- Start QtCreator IDE and load qBittorrent project file (qbittorrent.pro)
- Edit ''winconf.pri'' to point to the correct include and lib paths on your file system (boost, libtorrent, OpenSSL) ** boost libs are generated in ''boost_1_51\stage\lib'' ** libtorrent lib is generated in ''bin\msvc-10.0express\release\boost-source\geoip-static\link-static\threading-multi'' ** OpenSSL libs are located at ''C:\OpenSSL\lib\VC'' as a default
- Build qBittorrent using QtCreator, it should compile fine!
General
- Installing qBittorrent
- Frequently Asked Questions (FAQ)
- qBittorrent options (current and deprecated)
- How to use qBittorrent as a tracker
- How to use portable mode
- Anonymous mode
- How to bind your vpn to prevent ip leaks
Troubleshooting
External programs
Search plugins
Themes
Translation
WebUI
WebUI API
State | Version |
---|---|
Current | qBittorrent ≥ v4.1 |
Previous | qBittorrent v3.2.0 - v4.0.x |
Obsolete | qBittorrent < v3.2.0 |
WebAPI clients
Alternate WebUI
Reverse proxy setup for WebUI access
WebUI HTTPS configuration
- Let's Encrypt Certificates + Caddy2 Reverse Proxy
- Let's Encrypt certificates + NGINX reverse proxy - Linux
- Let's Encrypt certificates - Linux
- Self-signed SSL certificates - Linux
Linux
- Running qBittorrent without X server (WebUI only)
- Running qBittorrent without X server (WebUI only, systemd service set up, Ubuntu 15.04 or newer)
- OpenVPN and qBittorrent without X server
Development
- Coding style
- Contributing
- How to write a search plugin
- Using VSCode for qBittorrent development
- Setup GDB with Qt pretty printers
- How to debug WebUI code
Compilation
*BSD, Linux
- Alpine Linux
- CentOS 8.x
- Debian / Ubuntu and derivatives (CMake)
- Debian / Ubuntu and derivatives (autotools/qmake)
- Docker
- FreeBSD (no GUI)
- Fully static binaries on Linux (glibc or musl)
- Raspberry Pi OS / DietPi
- Raspbian for LeMaker Banana Pro