2025. 6. 5. 09:56

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.

 

위와 같은 에러는 Qt 응용프로그램이 X11 환경에서 GUI를 실행하려고 할 때 

 

필요한 xcb 플랫폼 플러그인을 불러오지 

 

못해 발생합니다

 

메시지에 나와 있듯이 Qt 6.5.0부터는 

 

libxcb-cursor0 (또는 xcb-cursro0) 패키지가 필요합니다

 

sudo apt install libxcb-cursor0