From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Qt 6.5.0 이상에서 GUI application을 빌드하고 실행할 때 다음과 같은 에러가 날 수 있다.
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: vnc, xcb, minimal, wayland-egl, offscreen, eglfs, minimalegl, linuxfb, vkkhrdisplay, wayland.
이 경우 관련된 모듈을 설치해 주면 문제가 해결이 된다.
sudo apt install libxcb-cursor0