fix: Add alternative INCLUDEPATH for dtk widget configurations#799
Conversation
- Introduced alternative search paths in multiple .pro files to address issues with incorrect dtk6widget.pc and dtkwidget.pc files. - Updated INCLUDEPATH for both Qt6 and Qt5 configurations to ensure proper widget inclusion. This change improves build reliability across different environments.
deepin pr auto review这段代码的 diff 主要是为了解决编译时找不到 DTK (Deepin Tool Kit) 头文件的问题,通过硬编码的方式添加了头文件搜索路径。 以下是针对这段 diff 的详细审查意见,包括语法逻辑、代码质量、代码性能和代码安全方面: 1. 语法逻辑
2. 代码质量
3. 代码性能
4. 代码安全
改进意见与建议这段代码的主要问题在于硬编码路径,这降低了代码的可维护性和兼容性。以下是几种改进方案,按推荐程度排序: 方案一:修复上游的 pkg-config 文件(最推荐)既然注释提到是 方案二:使用
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dengzhongyuan365-dev, lzwind 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 |
|
/forcemerge |
|
This pr force merged! (status: unstable) |
cae8271
into
linuxdeepin:develop/snipe
This change improves build reliability across different environments.