Development Tool Kit device module, including submodules:
- dtklsdevice
- dtkinputdevices
- Use
cmakefor project management. - Use
doxygenfor documentation. - Use
gtestfor unit testing. - Use
reusefor open source protocol checking. - Support generating unit test coverage reports.
- Both
g++andclang++compilers are supported. - Compatible with
Qt6andQt5. - Support for compiling as a
debianplatform installer.
- Qt >= 5.11
- cmake >= 3.13
- libdtkcore-dev >= 5.6.0.2
- doxygen
- pkg-config
git clone https://github.com/linuxdeepin/dtkdevice
sudo apt build-dep .-
Debug config
cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr && cmake --build buildNotice, under debug config, we can run
./test-coverage.sh
to acquire test coverage info.
-
Release config
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr && cmake --build build
cd <dtkdevice>/build sudo make install
cd <dtkdevice> dpkg-buildpackage -b -us -uc
| Catalog | Description |
|---|---|
| .github/ | github related files, generally used to store workflows |
| .reuse/ | license declaration file, the project should use the reuse tool for license declaration |
| .gitignore | The git filter list, used to filter files that don't need to be pushed to the repository |
| .clang-format | Formatting declaration file, which is used for formatting code to maintain formatting uniformity |
| README.md | Project Overview Document |
| LICENSE | License agreement file, the file to github such repository use, the project should use reuse tool, but the agreement must be unified, generally LGPL-v3 |
| CMakeLists.txt | Project files can be placed in the outermost |
| debian/ | Required files for debian packaging |
| docs/ | Store document-related content, currently used as a directory for doxygen-generated documents |
| include/ | Public headers directory, all open headers should be placed in this directory |
| LINCENSES/ | License agreement directory, where all license agreements for the project are stored |
| misc/ | Store project-independent resources or configuration files, such as .service .conf .in, etc. |
| src/ | Store source code files, such as: .h .cpp |
| tests/ | Unit test related code storage directory |
| examples/ | Examples storage directory |
Any usage issues can ask for help via
We encourage you to report issues and contribute changes
Development Tool Kit is licensed under LGPL-3.0-or-later.