From 8fafd9b76b98a64665dc244256fcf4f5a894b7a2 Mon Sep 17 00:00:00 2001 From: Francisco Pombal <17580742+FranciscoPombal@users.noreply.github.com> Date: Mon, 18 Oct 2021 19:02:23 +0100 Subject: [PATCH] Address availability of recent versions of Qt packages in Debian/Ubuntu --- Compilation:-Debian,-Ubuntu,-and-derivatives.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Compilation:-Debian,-Ubuntu,-and-derivatives.md b/Compilation:-Debian,-Ubuntu,-and-derivatives.md index 1d0418f..73dd344 100644 --- a/Compilation:-Debian,-Ubuntu,-and-derivatives.md +++ b/Compilation:-Debian,-Ubuntu,-and-derivatives.md @@ -19,9 +19,15 @@ sudo apt install build-essential cmake git ninja-build pkg-config libboost-dev l ## Qt libraries -qBittorrent uses the Qt framework as the basis for its GUI. qBittorrent 4.2 and later requires at least Qt 5.9. +qBittorrent uses the Qt framework as the basis for its GUI. -For Debian 10, Ubuntu 18.04 LTS or later and their derivatives, just install Qt from the official repositories: +- qBittorrent 4.3.x requires at least Qt 5.11. +- At the time of writing, the current `master` branch requires at least Qt 5.15.2. + +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. +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. + +For Debian and Ubuntu versions that include sufficiently up-to-date Qt packages, you can just install the following packages from the official repositories: ```bash sudo apt install --no-install-recommends qtbase5-dev qttools5-dev libqt5svg5-dev