You are not logged in.

#1 2014-07-02 03:43:55

weirddan455
Member
Registered: 2012-04-15
Posts: 213

SOLVED Sqlitebrowser won't load since update changed dependency to Qt5

I think this is the first qt5 program I've tried to run.  I didn't even have the qt5-base package until sqlitebrowser updated and pulled it down as a new dependency.  Anywhere here's the error I'm getting which seems to be common among qt5 apps but I can't find a solution:

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

Available platform plugins are: eglfs, kms, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Aborted

I already have the xcb packages though is what confuses me

$ pacman -Qs xcb
local/cairo 1.12.16-2
    Cairo vector graphics library
local/lib32-libxcb 1.10-2
    X11 client-side library (32-bit)
local/libxcb 1.10-2
    X11 client-side library
local/xcb-proto 1.10-2
    XML-XCB protocol descriptions
local/xcb-util 0.3.9-1
    Utility libraries for XC Binding
local/xcb-util-image 0.3.9-1
    Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions
local/xcb-util-keysyms 0.3.9-1
    Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes
local/xcb-util-renderutil 0.3.9-1
    Utility libraries for XC Binding - Convenience functions for the Render extension
local/xcb-util-wm 0.4.1-1
    Utility libraries for XC Binding - client and window-manager helpers for ICCCM

I'm running KDE if it matters.  Since KDE is qt4 based, maybe there's a conflict there.  Really not sure at this point.

Last edited by weirddan455 (2014-07-03 10:30:33)

Offline

#2 2014-07-02 04:24:28

Korrode
Member
From: Australia
Registered: 2009-11-02
Posts: 110

Re: SOLVED Sqlitebrowser won't load since update changed dependency to Qt5

Do you have libxkbcommon-x11 installed?

EDIT: https://bugs.archlinux.org/task/40569

Last edited by Korrode (2014-07-02 04:26:07)


xfce | compiz | gmrun | urxvt | chromium | geany | aqualung | vlc | geeqie

Offline

#3 2014-07-02 06:12:05

weirddan455
Member
Registered: 2012-04-15
Posts: 213

Re: SOLVED Sqlitebrowser won't load since update changed dependency to Qt5

Korrode wrote:

Do you have libxkbcommon-x11 installed?

EDIT: https://bugs.archlinux.org/task/40569

The nice folks on IRC helped me conclude that that was indeed the package I was missing and installing it solved my problem.  I'm thinking about filing a bug report on qt5-base suggesting they add libxkbcommon-x11 as a dependency (right now it's only an optional dependency) as it's very small, doesn't have many dependencies of its own, and nearly everyone running qt5 at the moment is going to be running X

If they're trying to make qt5 not dependent on X for Wayland support, they're already failing anyway because qt5-base depends on libxrender and libxi which both depend on libx11.  Libxkbcommon actually does not depend on libx11 and it's only dependency besides glibc (installed on nearly 100% of Arch systems) is the 5MB xkeyboard-config with no dependencies of its own and installed on 94% of Arch systems as it's required by xorg-server-common.

EDIT:  And bug reported:

https://bugs.archlinux.org/task/41055

EDIT 2:  Marking this as solved.  The initial bug report for adding the dependency to qt5-base was denied so I filed one for sqlitebrowser and the developer added the dependency there.

https://bugs.archlinux.org/task/41056

Last edited by weirddan455 (2014-07-03 10:29:29)

Offline

Board footer

Powered by FluxBB