QStandardPaths: runtime directory ‘/run/user/1000‘ is not owned by UID 0

文章描述了一个Qt应用程序在启动时遇到的问题,涉及到QStandardPaths中的runtimedirectory权限不正确,非UID0所有,同时DBus服务未运行,影响了qt.qpa.theme.dbus的相关功能。解决方案可能包括修复用户权限和确保DBus服务正常运行。
摘要由CSDN通过智能技术生成

QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000
qt.qpa.theme.dbus: Session DBus not running.
qt.qpa.theme.dbus: Application will not react to setting changes.
 Check your DBus installation.

export XDG_RUNTIME_DIR=/run/user/1000

export QT_MEDIA_BACKEND=ffmpeg

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值