-
Notifications
You must be signed in to change notification settings - Fork 31
Description
I'm building the qtwayland on Fedora and I meet some problems. Now I figured out and fixed them. Turned out there are some prerequisites are missing.
The first problem is this,
Running configuration tests...
The test for linking against libxcb and support libraries failed!
You might need to install dependency packages, or pass -qt-xcb.
See src/plugins/platforms/xcb/README.
The solution for this is to install xcb packages. On my fedora I executed the following command:
sudo dnf install libxcb libxcb-devel libXrender libXrender-devel xcb-util-wm xcb-util-wm-devel xcb-util xcb-util-devel xcb-util-image xcb-util-image-devel xcb-util-keysyms xcb-util-keysyms-devel
For other systems please check this thread,
http://stackoverflow.com/questions/25822875/configure-error-the-test-for-linking-against-libxcb-and-support-libraries-fai
Then the second problem appeared,
The EGL functionality test failed; EGL is required by some QPA plugins to manage contexts & surfaces.
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_EGL, QMAKE_LIBDIR_EGL and QMAKE_LIBS_EGL in ...motorcar/dependencies/qt5/qtbase/mkspecs/linux-g++.
For my case, the EGL headers are missing. To fix this, run
sudo dnf install mesa-libEGL-devel.
Maybe there are some other dependencies that are needed, like drivers. (For my case, I've installed the bumblebee before).
After this, there is another problem but I forgot to save the error message. It's about the dependency of wayland. For this one, the following should work
sudo dnf install wayland-devel mesa-libwayland-egl-devel
It would be better if there are some instructions about the prerequisites in the README.
Thanks,
Yisu