可用于为 Deepin 桌面环境提供 Qt 平台集成支持,实现窗口管理、渲染等功能。项目支持 XCB 和 Wayland(可禁用),依赖 Qt5 及多种 X11 相关库,提供环境变量配置以优化窗口行为与渲染效果。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago |
qt5platform-plugins
qt5platform-plugins is the Qt platform integration plugin for Deepin Desktop Environment.
Dependencies
Build dependencies
- pkg-config
- mtdev
- xcb-xkb
- xcb-render-util
- xcb-image
- xcb-icccm4
- xcb-keysyms1-dev
- egl1-mesa
- xkbcommon-x11
- dbus-1
- udev
- xrender
- xi
- sm
- xcb-xinerama
- fontconfig
- freetype6
- glib2.0
- xcb-damage
- xcb-composite
- cairo2
- Qt5 (>= 5.6)
- Qt5-Core
- Qt5-Gui
- Qt5-OpenGL
- Qt5-X11extras
- Qt5-Core-Private
Installation
Build from source code
-
Make sure you have installed all dependencies.
-
Build:
Support disabling some modules, add CONFIG+= when executing qmake.
val:
- DISABLE_WAYLAND
- DISABLE_XCB
mkdir build
cd build
qmake ..
make
- Install:
$ sudo make install
Usage
To be done.
Getting help
You may also find these channels useful if you encounter any other issues:
Getting involved
We encourage you to report issues and contribute changes
License
qt5platform-plugins is licensed under LGPL-3.0-or-later.
Environment variable
- DXCB_PRINT_WINDOW_CREATE: Print the information of the QWindow when the local window is created
- DXCB_PAINTENGINE_DISABLE_FEATURES: Specify the qpaintengine:: paintenginefeatures to disable, which is only valid for the QPainter drawing system
- DXCB_FAKE_PLATFORM_NAME_XCB: Force the value of qguiapplication:: platformname property to be "xcb"
- DXCB_DISABLE_HOOK_CURSOR: It is prohibited to use the value of qwindow:: devicepixelratio to automatically scale the size of the cursor on this window
- DXCB_REDIRECT_CONTENT: Set whether to allow XDamage to redirect the content drawn in the window with dxcb mode enabled. "true" indicates that it is allowed, and "false" indicates that it is not allowed. Otherwise, the value set by the window itself will be used. If the window does not set any value, the redirection mode will be enabled when the surface type of the window is QSurface:: OpenGLSurface. Otherwise, it will not be enabled
- DXCB_REDIRECT_CONTENT_WITH_NO_COMPOSITE: It is mandatory to allow the content drawn in the XDamage redirected window in the mode without window effects. If it is not set or the value is empty, the content drawn in the XDamage redirected window will not be used if the window manager does not support Composite