Debian Codegraph @

README

raw
1 qt5ct - Qt5 Configuration Tool
2
3 This program allows users to configure Qt5 settings (theme, font, icons, etc.)
4 under DE/WM without Qt integration.
5
6 Official home page: https://sourceforge.net/projects/qt5ct/
7
8 Requirements:
9
10 - GNU Linux or FreeBSD
11 - qtbase >= 5.9.0
12 - qtsvg >= 5.9.0 (Runtime dependency for the SVG icon support)
13 - qttools >= 5.9.0 (For build only)
14
15
16 Installation using qmake:
17
18 qmake PREFIX=<your installation path>
19 make
20 make install (under root)
21
22 Installation using cmake (requires Qt 5.15 or later):
23
24 cmake -DCMAKE_INSTALL_PREFIX=<your installation path>
25 make
26 sudo make install
27
28 Add line 'export QT_QPA_PLATFORMTHEME=qt5ct' to ~/.profile and re-login.
29 Alternatively, create the file /etc/X11/Xsession.d/100-qt5ct with
30 the following line:
31
32 export QT_QPA_PLATFORMTHEME=qt5ct
33
34 (or qt6ct for compatibility with Qt6 Configuration Tool)
35
36 Now restart X11 server to take the changes effect.
37
38 Extra build options (for advanced users only):
39 qmake DISABLE_WIDGETS=1 - compiles platform plugin without QtWidgets (useful for QML applications only)
40 qmake DISABLE_DBUS=1 - disable D-Bus support (global menu and D-Bus tray icon implementation)
41 qmake PLUGINDIR=<custom path> - changes the default installation path of the plugins (libqt5ct.so and libqt5ct-style.so)
42 qmake LIBDIR=<custom path> - changes the default installation path of the qt5ct shared library (libqt5ct-common.so)
43
44 Wayland:
45
46 If you are running Qt application under Wayland, you should export the following variables:
47
48 export QT_QPA_PLATFORM=wayland
49 export QT_QPA_PLATFORMTHEME=qt5ct
50
51 Debug Messages:
52
53 By default, debug messages from platform plugin are disabled. To enable them, you should
54 export the following environment variable:
55
56 export QT_LOGGING_RULES="qt5ct.debug=true"
57
58 Another way is to change qtlogging.ini file. See Qt documentation for details:
59 https://doc.qt.io/qt-5/qloggingcategory.html (paragraph "Configuring Categories")
60
61 Files and Directories:
62
63 qt5ct - Qt5 configuration tool
64 libqt5ct.so - qt5ct platform plugin
65 libqt5ct-style.so - qt5ct proxy style plugin
66 libqt5ct-common.so - qt5ct shared library
67 ~/.config/qt5ct/qt5ct.conf - configuration file
68 ~/.config/qt5ct/qss, ~/.local/share/qt5ct/qss, /usr/share/qt5ct/qss, /usr/local/share/qt5ct/qss - style sheets
69 ~/.config/qt5ct/colors,~/.local/share/qt5ct/colors, /usr/share/qt5ct/colors,
70 /usr/local/share/qt5ct/colors - color schemes
71 /etc/xdg/qt5ct/qt5ct.conf - default configuration file
72
73 Translation:
74
75 Use Transifex service: https://www.transifex.com/projects/p/qt5ct/