2023-03-09 09:38:10 +08:00
|
|
|
# Deepin Tool Kit Widget
|
2016-02-05 16:02:12 +08:00
|
|
|
|
2022-08-22 10:18:29 +08:00
|
|
|
Deepin Tool Kit Widget(DtkWidget) provides the base widgets on Deepin.
|
2016-02-05 16:02:12 +08:00
|
|
|
|
2023-03-09 09:38:10 +08:00
|
|
|
中文说明:[README_zh_CN.md](./README.zh_CN.md)
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
|
|
中文文档:[dtkwidget文档](https://linuxdeepin.github.io/dtkwidget/index.html)
|
|
|
|
|
|
2016-02-05 16:02:12 +08:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
|
|
### Build dependencies
|
|
|
|
|
|
2018-01-19 18:43:47 +08:00
|
|
|
* Qt >= 5.6
|
2016-02-05 16:02:12 +08:00
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
### Build from source code
|
|
|
|
|
|
|
|
|
|
1. Make sure you have installed all dependencies.
|
2023-03-09 09:38:10 +08:00
|
|
|
|
2022-09-21 10:02:39 +08:00
|
|
|
```bash
|
2023-03-09 09:38:10 +08:00
|
|
|
sudo apt build-dep ./
|
2022-09-21 10:02:39 +08:00
|
|
|
```
|
2023-03-09 09:38:10 +08:00
|
|
|
|
2022-09-20 17:50:14 +08:00
|
|
|
If you need to use the designer plugin, you can:
|
2023-03-09 09:38:10 +08:00
|
|
|
|
2022-09-21 10:02:39 +08:00
|
|
|
```bash
|
2022-09-20 17:50:14 +08:00
|
|
|
$ sudo apt install qttools5-dev
|
|
|
|
|
|
|
|
|
|
# build
|
2022-09-21 10:02:39 +08:00
|
|
|
$ cmake ./plugin/dtkuiplugin -B build -DINSTALL_PLUGIN=ON -DCMAKE_INSTALL_PREFIX=/usr
|
2022-09-20 17:50:14 +08:00
|
|
|
$ cmake --build build -j$(nproc)
|
|
|
|
|
|
|
|
|
|
# install
|
2022-09-21 10:02:39 +08:00
|
|
|
$ cd build
|
2022-09-20 17:50:14 +08:00
|
|
|
$ sudo make install
|
2022-09-21 10:02:39 +08:00
|
|
|
```
|
2023-03-09 09:38:10 +08:00
|
|
|
|
2016-02-05 16:02:12 +08:00
|
|
|
2. Build:
|
2016-02-18 14:23:10 +08:00
|
|
|
|
2022-09-21 10:02:39 +08:00
|
|
|
```bash
|
2023-03-09 09:38:10 +08:00
|
|
|
cmake -B build
|
|
|
|
|
cmake --build build -j$(nproc)
|
2022-09-21 10:02:39 +08:00
|
|
|
```
|
2016-02-05 16:02:12 +08:00
|
|
|
|
|
|
|
|
3. Install:
|
|
|
|
|
|
2022-09-21 10:02:39 +08:00
|
|
|
```bash
|
2023-03-09 09:38:10 +08:00
|
|
|
cd build
|
|
|
|
|
sudo make install
|
2022-09-21 10:02:39 +08:00
|
|
|
```
|
2016-02-05 16:02:12 +08:00
|
|
|
|
|
|
|
|
## Getting help
|
|
|
|
|
|
|
|
|
|
Any usage issues can ask for help via
|
|
|
|
|
|
|
|
|
|
* [Gitter](https://gitter.im/orgs/linuxdeepin/rooms)
|
|
|
|
|
* [IRC channel](https://webchat.freenode.net/?channels=deepin)
|
|
|
|
|
* [Forum](https://bbs.deepin.org)
|
2017-11-13 14:54:50 +08:00
|
|
|
* [WiKi](https://wiki.deepin.org/)
|
2016-02-05 16:02:12 +08:00
|
|
|
|
|
|
|
|
## Getting involved
|
|
|
|
|
|
|
|
|
|
We encourage you to report issues and contribute changes
|
|
|
|
|
|
2017-11-13 14:54:50 +08:00
|
|
|
* [Contribution guide for developers](https://github.com/linuxdeepin/developer-center/wiki/Contribution-Guidelines-for-Developers-en). (English)
|
2016-02-05 16:02:12 +08:00
|
|
|
|
2022-10-21 17:37:56 +08:00
|
|
|
## Made with dtkwidget
|
|
|
|
|
|
|
|
|
|
List of some open source projects using dtkwidget: (Contact us or open a pull request to add yours)
|
|
|
|
|
|
2023-03-09 09:38:10 +08:00
|
|
|
* **[DMarked](https://github.com/DMarked/DMarked)**: Markdown Editor with dtkwidget
|
|
|
|
|
* **[DtkTimer](https://github.com/gfdgd-xi/timer)**: Clock with dtkwidget
|
|
|
|
|
* **[simple-image-filter](https://github.com/dependon/simple-image-filter)**: Image Process with dtkwidget
|
|
|
|
|
* **[SparkStore](https://github.com/Spark-Store/Spark-Store)**: SparkStore
|
|
|
|
|
* **[WingHexExplorer](https://github.com/Wing-summer/WingHexExplorer)**: Powerful Hexadecimal Editor with dtkwidget
|
|
|
|
|
* **[WingTool](https://github.com/Wing-summer/WingTool)**: A Productivity Plugin-based Toolbox with dtkwidget
|
|
|
|
|
* **[ScreenLight](https://github.com/Wing-summer/ScreenLight)**: A small tool to ajust the brightness of the screen with dtkwidget
|
2022-10-23 09:44:11 +08:00
|
|
|
|
2016-02-05 16:02:12 +08:00
|
|
|
## License
|
|
|
|
|
|
2022-09-21 17:55:41 +08:00
|
|
|
deepin-tool-kit is licensed under [LGPL-3.0-or-later](LICENSE).
|