YinJie
fdeba32ff4
chore: 修改org.deepin.dtk.loggingrules.rules配置的标志
...
把org.deepin.dtk.loggingrules.rules 配置改成系统级别。
缘由:控制中心修改日志级别调用的是系统级别的接口,系统接口使用了 sudo 权限执行脚本,
但是org.deepin.dtk.loggingrules.rules 配置是 session 级别的,导致修改无效。
Log:
Task: https://pms.uniontech.com/task-view-326319.html
Influence: 修改日志级别后所有用户都生效
Change-Id: I30441f2919ffeed4e6fab4608927dfab3bb6dd28
2024-02-23 13:23:16 +08:00
覃本学
5ba84146b4
feat: 允许基于dtk开发的应用动态控制其日志输出等级
...
在运行中,不需要重启应用,也可以通过配置项控制日志输出等级
注: 应用的applicationName 需要和dconfig安装时的appid等同方可识别
配置规则等同于QT_LOGGING_RULES
Log: 允许基于dtk开发的应用动态控制其日志输出等级
Influence: 允许基于dtk开发的应用动态控制其日志输出等级
Task: https://pms.uniontech.com/task-view-307567.html
https://pms.uniontech.com/task-view-305899.html
Change-Id: Ic9df90b33628d5d3266188c9ddd1c84f7f600a15
2023-12-12 13:35:39 +08:00
ck
edbc7c0eda
chore: log file function and line by default
...
add QT_MESSAGELOGCONTEXT dfinetions by default
log file function line by default
Log: log
Change-Id: I119eb2ffe4ac3d372fba874b99b9fc75131c0d6e
2023-02-16 14:21:10 +08:00
heyuming
d1605f7da2
feat: support Qt6
...
Log: 支持Qt6
2023-02-14 13:22:03 +08:00
wangyixue
d7433df0b2
chore: add DtkDConfig package
...
Add DtkDConfigConfig.cmake file. Now find_package(DtkCore) can also find
DConfig support.
Log: add DtkDConfig package
2023-01-06 17:02:04 +08:00
wangyixue
adc8a2e764
chore: remove dependency search
...
Remove pkg_check_modules for gsettings-qt
Log: remove dependency search
2022-12-23 14:51:02 +08:00
wangyixue
950aef580b
feat: add support for cmake target link
...
Now users can simple find_package, and then target_link_libraries with
Dtk::Core. There is no need to invoke target_include_directories,
target_link_libraries will do all things for you.
Log: add cmake target link support
2022-12-23 10:22:12 +08:00
wangyixue
2a9edc17dd
chore: fix linking error
...
DtkCoreConfig.cmake will always find the library under system library
path. This will cause a linking error when you want to use the version
deployed by yourself. Fix that by appending the path prefix.
Log: fix DtkConfig.cmake.in
Influence: DtkConfig.cmake.in
2022-12-05 10:38:03 +08:00
rewine
563a954d9c
feat: set DtkCore_LIBRARY_DIRS
...
Log: set DtkCore_LIBRARY_DIRS
2022-09-28 01:06:58 +00:00
rewine
e3f7f6bbd9
fix: don't check DtkCore_TOOL_DIR cause split pkgs
...
Log: deepin 中,tool 会被分到和 dev 不同的包,因此 dev 提供的 config.cmake 不应该检查
DtkCore_TOOL_DIR 是否存在
2022-09-08 14:38:00 +08:00
rewine
40324bf909
fix: use FULL install path
...
Log: 安装路径使用绝对路径, INCLUDE_INSTALL_DIR 会传给 .pc 文件
2022-09-08 01:53:37 +00:00
rewine
5321d477ad
feat: use CMakePackageConfigHelpers to generate better config.cmake
...
1. 对 CMAKE_INSTALL_PREFIX 默认值修改移动到根目录 CMakeLists.txt
2. 增加 INCLUDE_INSTALL_DIR TOOL_INSTALL_DIR 变量化简写法
3. 使用专门处理 config.cmake 的 configure_package_config_file 函数代替 configure_file
4. 使用 write_basic_package_version_file 生成 cmake 用的版本文件
5. 补充 pkg-config 的 -L 参数
6. 使用更普适的方法配置 pkg-config 内路径
2022-09-07 10:01:28 +00:00
ShootingStarDragons
db5ae947fe
feat(tocmake): tocmake
...
Change the build system to cmake
Log: use cmake
2022-08-16 07:50:54 +00:00