·qt-compatibility-build
</>

qt-compatibility-build

re2zero/deepin-skills

当维护需要 Qt5/Qt6 双支持的 Debian 软件包、CMakeLists.txt 具有硬编码的 Qt5/Qt6 或 DTK5/DTK6 版本,或者项目需要基于检测到的 Qt 版本进行动态库链接以兼容深度操作系统 V25/V20 时使用

17安装·1热度·@re2zero

安装

$npx skills add https://github.com/re2zero/deepin-skills --skill qt-compatibility-build

SKILL.md

Unifies CMake configuration for deepin V25/V20 dual-version support by automatically detecting Qt5/Qt6 and dynamically mapping DTK versions, eliminating hard-coded version references throughout the build system.

| debian/control | V25 | Qt6 | | debian/control.1 | V20 | Qt5 |

Why: control (no suffix) = latest version (V25), control.1 (with suffix) = previous version (V20).

当维护需要 Qt5/Qt6 双支持的 Debian 软件包、CMakeLists.txt 具有硬编码的 Qt5/Qt6 或 DTK5/DTK6 版本,或者项目需要基于检测到的 Qt 版本进行动态库链接以兼容深度操作系统 V25/V20 时使用 来源:re2zero/deepin-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/re2zero/deepin-skills --skill qt-compatibility-build
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 qt-compatibility-build?

当维护需要 Qt5/Qt6 双支持的 Debian 软件包、CMakeLists.txt 具有硬编码的 Qt5/Qt6 或 DTK5/DTK6 版本,或者项目需要基于检测到的 Qt 版本进行动态库链接以兼容深度操作系统 V25/V20 时使用 来源:re2zero/deepin-skills。

如何安装 qt-compatibility-build?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/re2zero/deepin-skills --skill qt-compatibility-build 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/re2zero/deepin-skills