Commit 2a81f4b
committed
fix: remove QT logging rules check for UOS
The change removes the conditional export of QT_LOGGING_RULES that was
previously only set for UOS (UnionTech OS) but not Community edition.
This environment variable controlled Qt program debug output. The
removal suggests this logging control is no longer needed or should be
handled differently, possibly because:
1. The logging behavior should be consistent across all editions
2. The logging control is being moved to a different configuration
mechanism
3. The check was causing issues or wasn't providing value
The change also maintains other important environment settings like
QT_QPA_PLATFORM while removing this specific logging control.
fix: 移除针对UOS的QT日志规则检查
此次变更移除了之前仅针对UOS(统信操作系统)非社区版设置的
QT_LOGGING_RULES条件导出。该环境变量原本用于控制Qt程序的调试输出。移除该
设置可能因为:
1. 日志行为应在所有版本中保持一致
2. 日志控制将被移至其他配置机制
3. 该检查存在问题或未提供实际价值
变更保留了其他重要的环境设置如QT_QPA_PLATFORM,同时移除了这个特定的日志
控制。1 parent 69da392 commit 2a81f4b
2 files changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 62 | | |
69 | 63 | | |
70 | 64 | | |
| |||
0 commit comments