FS#40468 - [qt5-tools][qt5-declarative][qt5-quick] should depend on libxkbcommon-x11
Attached to Project:
Arch Linux
Opened by Сковорода Никита (ChALkeR) - Tuesday, 20 May 2014, 13:02 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 21 May 2014, 16:31 GMT
Opened by Сковорода Никита (ChALkeR) - Tuesday, 20 May 2014, 13:02 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 21 May 2014, 16:31 GMT
|
Details
Description:
qt5-base includes /usr/lib/qt/plugins/platforms/libqxcb.so (which is the default qt5 gui platform under x11), that file is linked with libxkbcommon-x11.so.0, which is provided by extra/libxkbcommon-x11, which is not listed as a dependency for qt5-base. Without libxkbcommon-x11 Qt5-based GUI applications do not work under X11. Additional info: * qt5-base 5.3.0-1 * ldd /usr/lib/qt/plugins/platforms/libqxcb.so | grep xkbcommon-x11 * pacman -Qo /usr/lib/qt/plugins/platforms/libqxcb.so Steps to reproduce: * Remove libxkbcommon-x11 * Try to launch any Qt5-based GUI application under X11. Result: > 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. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 21 May 2014, 16:31 GMT
Reason for closing: Fixed
Additional comments about closing: qt5-declarative 5.3.0-2
Wednesday, 21 May 2014, 16:31 GMT
Reason for closing: Fixed
Additional comments about closing: qt5-declarative 5.3.0-2
Make your application depends from libxkbcommon-x11 since it's a plugin.
On the other hand, if user installs, for example, qtcreator / texmaker / kf5 or just wants to use qmlscene from qt5-declarative, or any graphical utility from qt5-tools, libxkbcommon-x11 is not installed and that apps do not work under x11.
Updating Qt5 to 5.3.0-1 breaks all these apps for the user.
Are you sure that all applications should depend on libxkbcommon-x11?
Adding libxkbcommon-x11 as dependence to qt5-declarative should already fix many of them however.
Just after I also installed libxkbcommon-x11 they loaded just fine.
Transmission Qt complained about something 'xcb'. After installing the above said package now just dumps core. I will have to investigate further.
libxkbcommon-x11 is *already* an optional dependence.
@All
Please file a bug for each package that needs libxkbcommon-x11 (which should be none or very few since many of them needs qt5-declarative that will be fixed ASAP)