From 54c479957cc5241eaac364d79a5a256224e64959 Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 22 Oct 2024 05:41:31 +0200 Subject: [PATCH] qt: created standalone article with configuration guide --- wiki/linux/qt.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 wiki/linux/qt.md diff --git a/wiki/linux/qt.md b/wiki/linux/qt.md new file mode 100644 index 0000000..dac1dca --- /dev/null +++ b/wiki/linux/qt.md @@ -0,0 +1,27 @@ +# Qt + +[Qt](https://www.qt.io/) is an application and widget toolkit. + +## Setup + +On most linux distributions different Qt versions are installed as a dependency of various programs +that use graphical user interfaces. + +### Configuration + +The configuration can easily be achieved by using the programs +[qt5ct](https://github.com/desktop-app/qt5ct) or [qt6ct](https://github.com/trialuser02/qt6ct) +the latter working with the current version of Qt. +qt5ct is officially archived and qt6ct is the recommended program to use and will mainly be +discussed in this article. +These programs can sometimes be found as [package](/wiki/linux/package_manager.md) of the same +name. +Afterwards `qt6ct` can be run to get a graphical user interface to set the theme and icons of Qt +applications. +This will create or edit a configuration file located at `~/.config/qt6ct/qt6ct.conf`. +To make this config apply for all Qt applications the following line needs to be inserted into the +`~/.profile` file. + +```sh +export QT_QPA_PLATFORMTHEME="qt6ct" +```