from 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin
Asked Answered
M

2

16

I'm using Qt on Ubuntu 20.04.6 LTS. I received a notification about a Qt update, so I updated Qt. After that, whenever I try to open Qt Creator, I get this error:

from 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform 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: minimalegl, scb, eglfs, minimal, linuxfb, vkkhrdisplay, offscreen, vnc, wayland, wayland-egl.

I've tried uninstalling and reinstalling Qt, but it did not help. I've also looked into other questions and answers available on Stack Overflow and other platforms, but none of them fixed my problem.

I've tried:

Screenshot of the issue:

The above error in a message box

Marcelina answered 28/12, 2023 at 8:27 Comment(0)
G
22

Installing libxcb-cursor-dev solved the issue for me:

sudo apt-get install -y libxcb-cursor-dev

Got the answer from here.

Gnotobiotics answered 27/5 at 8:0 Comment(1)
cannot find any xcb-cursor library on manjaro... any idea?Blearyeyed
G
0

check libxcb-cursor0:

sudo find / -name "libxcb-cursor*.so*"

copy libxcb-cursor0.so* to lib folder if found
else:

sudo apt install libxcb-cursor-dev

or

sudo apt install libxcb-*
Gemagemara answered 14/8 at 7:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.