fix: resolve compilation issues on Qt 6.9#6
Conversation
Adjusted the logger name retrieval in both FileAppender and RollingFileAppender classes to ensure compatibility with Qt 6.9. The changes involve replacing string parameters with QFile objects, which fixes the compilation errors that occurred under this version. These modifications improve the code's stability and ensure it adheres to the latest Qt standards, which is necessary for maintaining compatibility with future updates. 修复: 解决在 Qt 6.9 上的编译问题 调整了 FileAppender 和 RollingFileAppender 类中的日志记录器名称获取,以 确保与 Qt 6.9 的兼容性。更改涉及将字符串参数替换为 QFile 对象,从而修复 了在此版本下出现的编译错误。这些修改提高了代码的稳定性,并确保其遵循最新 的 Qt 标准,这对于维护与未来更新的兼容性是必要的。
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: zccrs The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
release 0.0.3 Log: bump version to 0.0.3
|
TAG Bot TAG: 0.0.3 |
deepin pr auto review代码审查意见:
|
Synchronize from linuxdeepin/dtklog#6 Signed-off-by: Yixue Wang <wangyixue@uniontech.com>
Adjusted the logger name retrieval in both FileAppender and RollingFileAppender classes to ensure compatibility with Qt 6.9. The changes involve replacing string parameters with QFile objects, which fixes the compilation errors that occurred under this version. These modifications improve the code's stability and ensure it adheres to the latest Qt standards, which is necessary for maintaining compatibility with future updates.
修复: 解决在 Qt 6.9 上的编译问题
调整了 FileAppender 和 RollingFileAppender 类中的日志记录器名称获取,以 确保与 Qt 6.9 的兼容性。更改涉及将字符串参数替换为 QFile 对象,从而修复
了在此版本下出现的编译错误。这些修改提高了代码的稳定性,并确保其遵循最新
的 Qt 标准,这对于维护与未来更新的兼容性是必要的。