Go to file
Ye ShanShan c695367b4f fix: correct bitwise operation in dconfig status tracking
1. Fixed incorrect bitwise AND operation in property status tracking
2. Changed `fetchAndAndOrdered(1 << index)` to `fetchAndAndOrdered(~(1
<< index))`
3. This ensures proper bit clearing when unsetting property flags
4. The change was made in both the generated header and the generator
tool
5. Without this fix, status tracking would incorrectly set bits instead
of clearing them

fix: 修正 dconfig 状态跟踪中的位操作

1. 修复了属性状态跟踪中错误的位与操作
2. 将 `fetchAndAndOrdered(1 << index)` 改为 `fetchAndAndOrdered(~(1
<< index))`
3. 确保在取消设置属性标志时能正确清除位
4. 修改同时应用于生成的头部文件和生成器工具
5. 若不修复此问题,状态跟踪会错误地设置位而非清除它们
2025-05-08 16:57:49 +08:00
.github fix: missing parameter passing for synchronization 2023-09-19 10:00:09 +08:00
.obs chore(CI): add OBS workflows 2023-03-29 09:27:56 +08:00
.reuse chore: update REUSE license file patterns 2025-05-07 03:45:01 +00:00
LICENSES chore: add dtk dbus generate function 2023-11-17 09:37:28 +08:00
archlinux fix(dlog): JournalAppender not work 2024-10-18 14:14:35 +08:00
cmake feat: dconfig2cpp always add bindableFoo functions on Qt6 2025-03-06 17:18:56 +08:00
debian chore: bump version to 5.7.14 2025-04-12 17:55:30 +08:00
docs feat: support auto generate the Qt code from a dconfig's json 2025-02-20 19:45:06 +08:00
examples chore: support Qt 6.4 build 2023-08-17 09:48:30 +08:00
include fix: resolve compilation failure on Qt 6.9 2025-04-12 17:55:30 +08:00
misc refactor: log files move to dtklog 2024-07-05 14:13:31 +08:00
rpm feat: Add DTextEncoding class. 2022-12-20 01:25:33 +00:00
src fix: correct bitwise operation in dconfig status tracking 2025-05-08 16:57:49 +08:00
tests fix: double value is converted to int for DConfig 2024-12-12 17:58:32 +08:00
toolGenerate feat: Add files generated by qdbusXML2cpp and DCONG2cpp 2025-03-04 20:02:08 +08:00
tools fix: correct bitwise operation in dconfig status tracking 2025-05-08 16:57:49 +08:00
.clang-format chore: format code 2022-11-30 02:24:08 -06:00
.clog.toml Release 2.0.5.2 2017-11-28 17:36:44 +08:00
.gitignore chore: ignore doxygen-theme folder 2023-07-03 09:28:28 +00:00
.gitlab-ci.yml Update .gitlab-ci.yml 2020-01-08 10:45:07 +08:00
.packit.yaml feat: Initial packit setup 2020-11-11 13:14:05 +08:00
.project.json feat: add qdbusxml2cpp-fix 2021-03-23 11:36:04 +08:00
.release.json refactor: use commit count for the package version 2019-07-05 14:42:48 +08:00
.syncexclude feat: add synchronization workflow 2023-08-18 17:41:34 +08:00
CHANGELOG.md chore: bump version to 5.7.14 2025-04-12 17:55:30 +08:00
CMakeLists.txt feat: support dtk6core build 2023-06-16 08:32:50 +08:00
LICENSE feat: update Log license 2022-10-21 14:21:47 +08:00
README.md docs: update readme 2023-02-06 15:43:46 +08:00
README.zh_CN.md docs: update readme 2023-02-06 15:43:46 +08:00
conanfile.py chore: adapt REUSE license header 2022-08-11 14:02:36 +08:00
dtkcore.cmake feat: support auto generate the Qt code from a dconfig's json 2025-02-20 19:45:06 +08:00
linglong.yaml feat: support dtk6core build 2023-06-16 08:32:50 +08:00

README.md

Deepin Tool Kit Core

Deepin Tool Kit (DtkCore) is the base development tool of all C++/Qt Developer work on Deepin.

You should read the Deepin Application Specification firstly.

中文说明:README.zh_CN.md

Document

中文文档:dtkcore文档

Dependencies

Build dependencies

  • Qt >= 5.10

Compile option

Compile option meaning Default state
BUILD_DOCS Compile document ON
BUILD_TESTING Compile test Default is ON in debug mode
BUILD_EXAMPLES Compile example ON
BUILD_WITH_SYSTEMD Support Systemd function OFF
BUILD_THEME Add themes to the document OFF

Installation

Build from source code

  1. Make sure you have installed all dependencies.

  2. Build:

mkdir build
cd build
cmake ..
make
  1. 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

License

deepin-tool-kit is licensed under LGPL-3.0-or-later.