OS/Ubuntu

Ubuntu 24.04 / Error when running PyQt6 application (xcb-cursor0 or libxcb-cursor0)

강서버 2026. 3. 31. 15:38
반응형

[ Error message ]

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: eglfs, minimalegl, offscreen, vkkhrdisplay, xcb, linuxfb, vnc, minimal, wayland-brcm, wayland-egl, wayland.

 

 

 

[ Solution ]

Install libxcb-cursor0

 

$ sudo apt install libxcb-cursor0

 

[ Execution log ]

gangserver@15ARH05-U1108:~$ sudo apt install libxcb-cursor0
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음 새 패키지를 설치할 것입니다:
  libxcb-cursor0
0개 업그레이드, 1개 새로 설치, 0개 제거 및 2개 업그레이드 안 함.
10.7 k바이트 아카이브를 받아야 합니다.
이 작업 후 39.9 k바이트의 디스크 공간을 더 사용하게 됩니다.
(... Log omitted ...)

 

 

728x90
반응형