You are not logged in.

#1 2016-06-26 00:48:27

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Qt5 libqxcb.so

I'm working with phantomjs.  I did a new install but I'm getting the error:

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

Searching in the wiki I found that :

The Qt5 page proposes a list of packages that are recommended for installation, blindly installing all of which may not be very Arch-like. Instead, you may identify the plugin (in the case of xcb, libqxcb.so), and use ldd to identify missing dependencies. Installing these dependencies should resolve the issue.

... but I do not see  how to install the Qt plugins. I tried using pacman to no avail...
So. I guess what I want to know is: how do I install Qt5 plugins like  xcb?

Thanks.

R.

Offline

#2 2016-06-26 06:44:45

desaparecido
Member
From: Liège, Belgium
Registered: 2010-03-14
Posts: 155

Re: Qt5 libqxcb.so

hi, I don't know about your "specific" problem but at least I can say you that

pacman -Qo /usr/lib/qt/plugins/platforms/libqxcb.so
/usr/lib/qt/plugins/platforms/libqxcb.so is owned by qt5-base 5.7.0-1

KF5 & Plasma5 (git versions) - Awesome WM
ASUS Sabertooth 990FX - AMD FX8350 - ATI Radeon HD 7970
[testing] repo

Offline

#3 2016-06-26 08:00:59

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: Qt5 libqxcb.so

This happened in the past when a required library for libqxcb was missing which was an optional dependency at that time. Look for "Not found" in the output of

$ ldd /usr/lib/qt/plugins/platforms/libqxcb.so

Maybe that gives you a hint.

Offline

#4 2016-06-26 13:44:01

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Qt5 libqxcb.so

Thanks for posting.

@desaparecido,
I did notice, doing a search that I in fact have the file in question in /usr/lib/qt/plugins/platforms/libqxcb.so that was also confusing since the message seems to imply  that I should not have it.

@xduugu,

I'll give your idea a try and  see where it goes. smile
The wiki gives a suggestion for using ldd but it was unclear as to how to use it; in contrast, your reply makes it very clear as to what to do.
Thanks!

R.

Offline

#5 2016-06-26 13:55:49

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Qt5 libqxcb.so

Hum... the plot thickens ... hmm

 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f974423a000)
        libxcb-image.so.0 => /usr/lib/libxcb-image.so.0 (0x00007f9744035000)
        libxcb-icccm.so.4 => /usr/lib/libxcb-icccm.so.4 (0x00007f9743e30000)
        libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0x00007f9743c28000)
        libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x00007f9743a20000)
        libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f974381c000)
        libxcb-randr.so.0 => /usr/lib/libxcb-randr.so.0 (0x00007f974360b000)
        libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0 (0x00007f9743407000)
        libxcb-keysyms.so.1 => /usr/lib/libxcb-keysyms.so.1 (0x00007f9743204000)
        libxcb-xinerama.so.0 => /usr/lib/libxcb-xinerama.so.0 (0x00007f9743000000)
        libxcb-xkb.so.1 => /usr/lib/libxcb-xkb.so.1 (0x00007f9742de3000)

Not only I did not get any "Not found" but I seem to have a whole collection of related libraries.
Now I'm even more confused about the nature of the problem.

R.

Offline

Board footer

Powered by FluxBB