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.
sudo apt-get install --reinstall libxcb-xinerama0