Skip to content

Commit 67a487c

Browse files
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 67a487c

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

debian/control

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Depends:
2424
jq,
2525
sed (>= 4),
2626
dde-daemon (>= 6.1.26),
27+
libdtkdata (>=5.7.18),
28+
libdtk6core (>=6.0.38),
2729
systemd,
2830
${misc:Depends},
2931
${shlibs:Depends},

misc/Xsession.d/00deepin-dde-env

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ if [ "$1" = "/usr/bin/dde-session" ]; then
5959
unset QT_SCALE_FACTOR
6060
export STARTDDE_MIGRATE_SCALE_FACTOR=1
6161
fi
62-
# control qt program infos level, set it only on uos
63-
if [ -f "/etc/os-version" ];then
64-
if ! grep -q Community /etc/os-version;then
65-
export QT_LOGGING_RULES="*.debug=false"
66-
fi
67-
fi
6862
# set qt qpa platform type
6963
export QT_QPA_PLATFORM="dxcb;xcb"
7064
# control qml softwarecontext in loongson-drm

0 commit comments

Comments
 (0)