Skip to content

Commit 362d1d8

Browse files
committed
unset QT_QPA_PLATFORM env
to fix `qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.`
1 parent 9d4f69f commit 362d1d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

com.tencent.WeChat.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ finish-args:
3535
# - --env=QT_IM_MODULE=
3636
# Hidpi scale
3737
- --env=QT_AUTO_SCREEN_SCALE_FACTOR=1
38+
# Fix `Could not find the Qt platform plugin "wayland"`
39+
- --unset-env=QT_QPA_PLATFORM
3840

3941
cleanup:
4042
- "/include"

0 commit comments

Comments
 (0)