You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: refactor CMake build system for unified DTK5/DTK6 support
1. Replaced BUILD_WITH_QT6 option with DTK5 option for unified DTK5/DTK6
build control
2. Updated project configuration to support both DTK5 (Qt5) and DTK6
(Qt6) versions
3. Modified version handling to use DTK_VERSION (5.y.z or 6.y.z) instead
of PROJECT_VERSION
4. Updated library naming: dtklog for DTK5 and dtk6log for DTK6
5. Enhanced Debian packaging to generate separate packages for DTK5
and DTK6
6. Added Build-Profiles support (nodtk5, nodtk6) for selective package
building
7. Updated installation paths to include dtk5/ and dtk6/ subdirectories
8. Modified CMake config files to use DTK_NAME_SUFFIX for proper target
naming
Log: Updated build system to support both DTK5 and DTK6 versions
Influence:
1. Test building with DTK5=ON (default) to ensure Qt5 compatibility
2. Test building with DTK5=OFF to ensure Qt6 compatibility
3. Verify library naming: libdtklog.so for DTK5, libdtk6log.so for DTK6
4. Check installation paths: include/dtk5/ for DTK5, include/dtk6/ for
DTK6
5. Test Debian package building with different profiles (nodtk5, nodtk6)
6. Verify CMake config files generate correct target names (DtkLog vs
Dtk6Log)
7. Ensure pkg-config files have correct dependencies (Qt5Core vs
Qt6Core)
refactor: 重构CMake构建系统以支持统一的DTK5/DTK6构建
1. 将BUILD_WITH_QT6选项替换为DTK5选项,用于统一的DTK5/DTK6构建控制
2. 更新项目配置以同时支持DTK5(Qt5)和DTK6(Qt6)版本
3. 修改版本处理逻辑,使用DTK_VERSION(5.y.z或6.y.z)替代PROJECT_VERSION
4. 更新库命名:DTK5使用dtklog,DTK6使用dtk6log
5. 增强Debian打包系统,为DTK5和DTK6生成独立的软件包
6. 添加Build-Profiles支持(nodtk5, nodtk6)用于选择性构建软件包
7. 更新安装路径,包含dtk5/和dtk6/子目录
8. 修改CMake配置文件以使用DTK_NAME_SUFFIX进行正确的目标命名
Log: 更新构建系统以同时支持DTK5和DTK6版本
Influence:
1. 测试使用DTK5=ON(默认)构建,确保Qt5兼容性
2. 测试使用DTK5=OFF构建,确保Qt6兼容性
3. 验证库命名:DTK5使用libdtklog.so,DTK6使用libdtk6log.so
4. 检查安装路径:DTK5使用include/dtk5/,DTK6使用include/dtk6/
5. 测试使用不同配置文件(nodtk5, nodtk6)构建Debian软件包
6. 验证CMake配置文件生成正确的目标名称(DtkLog vs Dtk6Log)
7. 确保pkg-config文件具有正确的依赖关系(Qt5Core vs Qt6Core)
0 commit comments