加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-2-Clause
qt5ct - Qt5 Configuration Tool

This program allows users to configure Qt5 settings (theme, font, icons, etc.)
under DE/WM without Qt integration.

Official home page: https://sourceforge.net/projects/qt5ct/

Requirements:

- GNU Linux or FreeBSD
- qtbase >= 5.4.0
- qtsvg >= 5.4.0 (Runtime dependency for the SVG icon support)
- qttools >= 5.4.0 (For build only)


Installation:

qmake PREFIX=<your installation path>
make
make install (under root)

Add line 'export QT_QPA_PLATFORMTHEME=qt5ct' to ~/.profile and re-login.
Alternatively, create the file /etc/X11/Xsession.d/100-qt5ct with
the following line:

export QT_QPA_PLATFORMTHEME=qt5ct

Now restart X11 server to take the changes effect.

Extra build options (for advanced users only):
qmake DISABLE_WIDGETS=1 - compiles platform plugin without QtWidgets (useful for QML applications only)
qmake DISABLE_DBUS=1 - disable D-Bus support (global menu and D-Bus tray icon implementation)
qmake PLUGINDIR=<custom path> - changes the default installation path of the plugins (libqt5ct.so and libqt5ct-style.so)

Wayland:

If you are running Qt application under Wayland, you should export the following variables:

export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=qt5ct

Debug Messages:

By default, platform plugin prints debug information to stderr. To disable this behaviour, you should
export the following environment variable:

export QT_LOGGING_RULES="qt5ct.debug=false"

Another way is to change qtlogging.ini file. See Qt documentation for details:
https://doc.qt.io/qt-5/qloggingcategory.html (paragraph "Configuring Categories")

Files and Directories:

qt5ct - Qt5 configuration tool
libqt5ct.so - qt5ct platform plugin
libqt5ct-style.so - qt5ct proxy style plugin
~/.config/qt5ct/qt5ct.conf - configuration file
~/.config/qt5ct/qss, ~/.local/share/qt5ct/qss, /usr/share/qt5ct/qss, /usr/local/share/qt5ct/qss - style sheets
~/.config/qt5ct/colors,~/.local/share/qt5ct/colors, /usr/share/qt5ct/colors,
/usr/local/share/qt5ct/colors - color schemes
/etc/xdg/qt5ct/qt5ct.conf - default configuration file

Translation:

Use Transifex service: https://www.transifex.com/projects/p/qt5ct/
Copyright (c) 2014-2019, Ilya Kotov <forkotov02@ya.ru> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

暂无描述 展开 收起
BSD-2-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化