Skip to content

Commit 52a2d16

Browse files
committed
chore: QT_QPA_PLATFORM env add dxcb
QT_QPA_PLATFORM env add dxcb Log:
1 parent c528e5a commit 52a2d16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if [ "$1" = "/usr/bin/dde-session" ]; then
4141
fi
4242
fi
4343
# set qt qpa platform type
44-
export QT_QPA_PLATFORM=xcb
44+
export QT_QPA_PLATFORM="dxcb;xcb"
4545
# control qml softwarecontext in loongson-drm
4646
lshw -c display | grep "driver=loongson-drm"
4747
if [ $? -eq 0 ];then

misc/Xsession.d/94qt_env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
case $XDG_SESSION_TYPE in
22
x11)
3-
export QT_QPA_PLATFORM=xcb
3+
export QT_QPA_PLATFORM="dxcb;xcb"
44
;;
55
wayland)
66
export QT_QPA_PLATFORM=wayland

0 commit comments

Comments
 (0)