Unsolved ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
-
I try to complie cross qt code on deepin20,use linux-aarch64-gnu-g++,
sudo ./configure -release -prefix /home/yyy/armqt -confirm-license -c++std 11 -opensource -shared -xplatform linux-aarch64-gnu-g++ -pch -nomake examples -nomake tests -no-opengl -skip qt3d -skip qtcanvas3d -linuxfb -qt-xcb
I get a error
ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
what should I do.
-
@yuyu said in ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.:
what should I do
You should check the configure log file to see what exactly is missing.
-
@yuyu said in ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.:
ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
In addition to following suggestion from @jsulm, it looks like some X Window devel library(ies) missing in your device. Please don't forget to synchronize your sysroot folder once you install them.
-
@yuyu Did you fix it? I got a same problem :(