old dtkwidget assume menu is not empty, but now it's not, and we revert this code. Moving addDefaultMenuItems from `showMenu` to `showEvent`, because some applications get menuItems and assert they are not empty before `showMenu`. delay to check UserManual avoid to request dbus in `showEvent`. Log: 升级后DTitleBar提供的menu可能没有默认菜单项,导致部分应用异常,改回 原来版本的逻辑 Bug: https://pms.uniontech.com/bug-view-170639.html Influence: 升级dtkwidget导致包管理器使用安装功能时崩溃 Change-Id: Ifae616c8ba5af3a2e28b1dbb00009e0a2872a989 |
||
|---|---|---|
| .github | ||
| .tx | ||
| archlinux | ||
| debian | ||
| doc | ||
| examples | ||
| plugin | ||
| rpm | ||
| src | ||
| tests | ||
| tools | ||
| .clog.toml | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .packit.yaml | ||
| .project.json | ||
| .release.json | ||
| CHANGELOG.md | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
| conanfile.py | ||
| dtkwidget.pro | ||
README.md
Deepin Tool Kit Widget
Deepin Tool Kit (Dtk) is the base devlopment tool of all C++/Qt Developer work on Deepin.
Dependencies
Build dependencies
- Qt >= 5.6
Installation
Build from source code
- Make sure you have installed all dependencies.
sudo apt build-dep .
If you need to use the designer plugin, you should also install:
sudo apt install qttools5-dev
- Build:
$ mkdir build
$ cd build
$ qmake ..
$ make
- Install:
$ sudo make install
Getting help
Any usage issues can ask for help via
Getting involved
We encourage you to report issues and contribute changes
- Contribution guide for developers. (English)
- 开发者代码贡献指南 (中文)
License
deepin-tool-kit is licensed under GPLv3.