Pyside6 wsl오류 wslg

junyojeo·2024년 10월 23일

❯ python src/main.py
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: offscreen, wayland, vkkhrdisplay, minimalegl, vnc, xcb, linuxfb, minimal, eglfs, wayland-egl.
[1] 31404 IOT instruction (core dumped) python src/main.py

unset DISPLAY
unset LIBGL_ALWAYS_INDIRECT
unset QT_QPA_PLATFORM

export DISPLAY=:0

python main.py

profile
치킨강정

0개의 댓글