Robotics StackExchange | Archived questions

Could not find or load the Qt platform plugin "xcb".

 sam@sam-X450LCP:~$ rosrun image_view image_view image:=/camera/depth_registered/image_raw
[ INFO] [1436104815.972634092]: Using transport "raw"

This application failed to start because it could not find or load the Qt platform plugin "xcb".

Reinstalling the application may fix this problem.
Aborted (core dumped)

I use freenect_launch to activate kinect. Nothing is strange except this warning.

[ WARN] [1436104496.653971362]: Could not find any compatible depth output mode for 1. Falling back to default depth output mode 1.

Can anyone help me?

Asked by SamTew on 2015-07-05 09:07:18 UTC

Comments

Did you try sudo apt-get install xcb?

Asked by allenh1 on 2015-07-06 11:29:51 UTC

i have tried but it still the same. Thanks anyway.

Asked by SamTew on 2015-07-07 07:14:16 UTC

What version of ubuntu are you running? What happens if you type qmake --version?

Asked by allenh1 on 2015-07-07 10:18:12 UTC

I'd like to push this thread, because I have exactly the same problem and can't find a solution. I tried installing xcb and qmake --version gives QMake version 3.0 Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu Interestingly this problem occured a few days ago, I don't know when exactly.

Asked by mherrmann on 2018-05-17 10:36:51 UTC

@mherrmann are you still having this issue? Sorry, was not on ROS answers for a good while

Asked by allenh1 on 2018-08-02 15:18:26 UTC

@allenh1 Thanks for your reply, my problem can be traced back to an installation of a camera driver, which installed a second qt5 version and added the search path. More details here: https://stackoverflow.com/questions/50395911/qtcreator-qt-5-not-found

Asked by mherrmann on 2018-08-06 01:44:33 UTC

Hey @mherrmann I'm running into the same error. Could you provide some details on how you fixed it? 1&2 of the stackoverflow did not help my case.

Asked by agerami on 2020-07-14 19:02:45 UTC

Answers