SOLVED Could not load the Qt platform plugin "xcb" in "" even though it was found."


#1

Issue
I overcame the following issue today and wondered if anyone else has had the same issue in the past. I couldn’t find anything within the forum.

When installing QGroundControl I got the following error:
Could not load the Qt platform plugin "xcb" in "" even though it was found

export QT_DEBUG_PLUGINS=1 this command aided in finding the solution as it outputs the logs to the screen.

This revealed that it couldn’t;t find the libqxcb.co file.

Solution
Reinstall libxcb
sudo apt-get install --reinstall libxcb-xinerama0


#2

Good info, but normally I’ve not had to do this.


#3

Yeah, I’m not sure why this occurred. Given the lack of questions in the forum I am presuming that it might be a bit of an outlying issue.