[Development] Bit of help for QtWayland on a Raspberry Pi
massimocallegari at yahoo.it
Wed Nov 4 14:16:48 CET 2015
Hey devs, I am trying to run the QtWayland qwindow-compositor example on a Raspberry Pi.
I have a Debian Wheezy development environment and I cross compile Qt 5.5.1 on my PC.
Turns out that I can't compile QtWayland examples cause the compositor module is not built.
According to the README, the following packages are needed:
xkbcommon 0.2.0 - http://xkbcommon.org/
wayland 1.2.0 - http://wayland.freedesktop.org/
And this is what I have in my environment:
pi at raspberrypi ~ $ dpkg -l | grep xkb
ii libxkbcommon-dev 0.3.1-1rpi5 armhf library interface to the XKB compiler - development files
ii libxkbcommon0:armhf 0.3.1-1rpi5 armhf library interface to the XKB compiler - shared library
ii libxkbfile1:armhf 1:1.0.8-1 armhf X11 keyboard file manipulation library
ii x11-xkb-utils 7.7~1 armhf X11 XKB utilities
ii xkb-data 2.5.1-3 all X Keyboard Extension (XKB) configuration data
pi at raspberrypi ~ $ dpkg -l | grep wayland
ii libgail-3-0:armhf 3.10.2-1+rpi9+waylandrpi1 armhf GNOME Accessibility Implementation Library -- shared libraries
ii libgtk-3-0:armhf 3.10.2-1+rpi9+waylandrpi1 armhf GTK+ graphical user interface library
ii libgtk-3-bin 3.10.2-1+rpi9+waylandrpi1 armhf programs for the GTK+ graphical user interface library
ii libgtk-3-common 3.10.2-1+rpi9+waylandrpi1 all common files for the GTK+ graphical user interface library
ii libwayland-client0:armhf 1.4.0+git-0rpi1rpi6 armhf wayland compositor infrastructure - client library
ii libwayland-cursor0:armhf 1.4.0+git-0rpi1rpi6 armhf wayland compositor infrastructure - cursor library
ii libwayland-dev 1.4.0+git-0rpi1rpi6 armhf wayland compositor infrastructure - development files
ii libwayland-server0a:armhf 1.4.0+git-0rpi1rpi6 armhf wayland compositor infrastructure - server library
rc libwayland0:armhf 1.1.0-0rpi1 armhf wayland compositor infrastructure - shared libraries
Apparently, the problem is in the detection of xkbcommon, cause the configure summary says this:
I've had a look at how the detection is performed and it's basically:
pkg-config --exists xkbcommon
If I run it on my PC it returns 1, while on the Raspberry Pi it returns 0.
I suspect I'm missing a package but I can't figure out which one.
Any help is appreciated.
More information about the Development