Code Monkey home page Code Monkey logo

qt5platform-plugins's Introduction

qt5dxcb-plugin

qt5dxcb-plugin 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

  1. Make sure you have installed all dependencies.

  2. Build:

Support disabling some modules, add CONFIG+= when executing qmake.

val:

  • DISABLE_WAYLAND
  • DISABLE_XCB
$ cd qt5dxcb-plugin
$ mkdir build
$ cd build
$ qmake ..
$ make
  1. 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

qt5dxcb-plugin is licensed under GPLv3.

环境变量

  • DXCB_PRINT_WINDOW_CREATE 在本地窗口被创建时打印对应的 QWindow 的信息
  • DXCB_PAINTENGINE_DISABLE_FEATURES 指定要禁用的 QPaintEngine::PaintEngineFeatures,只对 QPainter 绘图系统有效
  • DXCB_FAKE_PLATFORM_NAME_XCB 将 QGuiApplication::platformName 属性的值将被强制设置为 "xcb"
  • DXCB_DISABLE_HOOK_CURSOR 禁止使用 QWindow::devicePixelRatio 的值自动缩放光标在此窗口上的大小
  • DXCB_REDIRECT_CONTENT 设置是否允许对开启了 dxcb 模式的窗口使用 XDamage 重定向窗口绘制的内容,值为 "true" 表示允许,值为 "false" 表示不允许。否则将使用窗口自己设置的值,如果窗口未设置任何值,则窗口的 surfaceType 为 QSurface::OpenGLSurface 时会开启重定向模式,否则不开启
  • DXCB_REDIRECT_CONTENT_WITH_NO_COMPOSITE 强制允许在未开启窗口特效的模式下使用 XDamage 重定向窗口绘制的内容,未设置或值为空时,在窗口管理器不支持 Composite 的情况下,将不使用 XDamage 重定向窗口绘制的内容

qt5platform-plugins's People

Contributors

zccrs avatar hualet avatar kegechen avatar felixonmars avatar justforlxz avatar deepin-bot[bot] avatar sbwtw avatar gs342 avatar 993381 avatar deepinzhangshuang avatar sonald avatar feiwang1119 avatar leaeasy avatar iceyer avatar openarun avatar hosiet avatar choldrim avatar dami-star avatar amazingfate avatar dragondjf avatar chaojiangluo avatar reionwong avatar wineee avatar laplac2 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.