Commit d301b2e
committed
feat: add Qt5 and Qt6 dual version support
1. Added automatic Qt version detection in CMakeLists.txt to support
both Qt5 and Qt6
2. Modified CMake configuration to use dynamic Qt version variables
instead of hardcoded Qt6
3. Updated debian/control to include Qt5 package alternatives for build
dependencies
4. Enhanced debian/rules to detect available Qt version and set
appropriate QT_DIR
5. This change allows the project to build on systems with either Qt5 or
Qt6 installed
Log: Added support for both Qt5 and Qt6 versions
Influence:
1. Test building on systems with only Qt5 installed
2. Test building on systems with only Qt6 installed
3. Verify application functionality on both Qt5 and Qt6 environments
4. Check that all UI components render correctly in both versions
5. Test device formatting functionality remains consistent across Qt
versions
feat: 添加 Qt5 和 Qt6 双版本支持
1. 在 CMakeLists.txt 中添加自动 Qt 版本检测,支持 Qt5 和 Qt6
2. 修改 CMake 配置使用动态 Qt 版本变量替代硬编码的 Qt6
3. 更新 debian/control 包含 Qt5 包替代方案用于构建依赖
4. 增强 debian/rules 以检测可用 Qt 版本并设置合适的 QT_DIR
5. 此更改允许项目在安装 Qt5 或 Qt6 的系统上构建
Log: 新增对 Qt5 和 Qt6 双版本的支持
Influence:
1. 在仅安装 Qt5 的系统上测试构建
2. 在仅安装 Qt6 的系统上测试构建
3. 验证应用在 Qt5 和 Qt6 环境下的功能
4. 检查所有 UI 组件在两个版本中是否正确渲染
5. 测试设备格式化功能在 Qt 版本间保持一致
TASK: https://pms.uniontech.com/task-view-383509.html1 parent 91a9500 commit d301b2e
3 files changed
+48
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
13 | 23 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
17 | 27 | | |
18 | 28 | | |
19 | 29 | | |
| |||
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
96 | 106 | | |
97 | 107 | | |
98 | 108 | | |
| |||
103 | 113 | | |
104 | 114 | | |
105 | 115 | | |
106 | | - | |
| 116 | + | |
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
111 | | - | |
| 121 | + | |
112 | 122 | | |
113 | 123 | | |
114 | 124 | | |
115 | 125 | | |
116 | | - | |
| 126 | + | |
117 | 127 | | |
118 | 128 | | |
119 | 129 | | |
120 | 130 | | |
121 | | - | |
| 131 | + | |
122 | 132 | | |
123 | | - | |
| 133 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | | - | |
6 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
7 | 15 | | |
8 | 16 | | |
9 | 17 | | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
13 | | - | |
| 21 | + | |
0 commit comments