Skip to content

Commit 0b35b36

Browse files
TheLQxavier2k6
authored andcommitted
Update QT6 in Compilation-Debian,-Ubuntu,-and-derivatives.md
1 parent cff4ec5 commit 0b35b36

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Compilation-Debian,-Ubuntu,-and-derivatives.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ sudo apt install build-essential cmake git ninja-build pkg-config libboost-dev l
2121

2222
qBittorrent uses the Qt framework as the basis for its GUI.
2323

24-
- qBittorrent 4.4.x requires at least Qt 5.15.2.
25-
- At the time of writing, the current `master` branch requires at least Qt 5.15.2.
24+
- qBittorrent 5.1.x requires at least Qt 6.5.0.
25+
- At the time of writing, the current `master` branch requires at least Qt 6.6.0.
2626

2727
Many distributions, in particular Debian, Ubuntu (especially LTS releases), and their derivatives don't provide up-to-date Qt packages in their repositories or are very slow in updating them.
2828
In such cases, you must get them from somewhere else, such as the official installer from the [Qt website](https://www.qt.io/download-qt-installer) (unfortunately, this method requires the creation of an account, but you can just use a throwaway email), or a PPA you trust in the case of Ubuntu and other distributions that support that installation method.
2929

3030
For Debian and Ubuntu versions that include sufficiently up-to-date Qt packages, you can just install the following packages from the official repositories:
3131

3232
```bash
33-
sudo apt install --no-install-recommends qtbase5-dev qttools5-dev libqt5svg5-dev
33+
sudo apt install --no-install-recommends qt6-base-dev qt6-base-private-dev qt6-tools-dev qt6-svg-dev
3434
```
3535

3636
## libtorrent
@@ -53,8 +53,9 @@ git clone --recurse-submodules https://github.com/arvidn/libtorrent.git
5353
cd libtorrent
5454
git checkout RC_2_0 # or a 2.0.x tag
5555
cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr/local
56-
cmake --build build
57-
sudo cmake --install build
56+
cd build
57+
ninja
58+
sudo ninja install
5859
```
5960

6061
The install step will install libtorrent to the chosen prefix (`/usr/local`, in this case), and generate an `install_manifest.txt` file in the build folder that can later be used to uninstall all installed files with `sudo xargs rm < install_manifest.txt`.

0 commit comments

Comments
 (0)