Building Qt5 on Debian fails with error: The test for linking against libxcb and support libraries failed
|September 13, 2014||Posted by forumadmin under TechQns||
I’m trying to build Qt5 on Debian Wheezy, by following this tutorial –
I run the configure script:
./configure -developer-build -opensource -nomake examples -nomake tests
But it fails with this error:
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.
I get this error even though
libxcb1-dev has already been installed.
There is a similar question, you can look at it for reference – Qt5 install on OSX -qt-xcb, but it is about OS X, and the suggested solutions there won’t work for Linux I think.
Is there a way to enable XCB, or should I just pass
-qt-xcb as suggested in the error message? Would the build be missing any vital features then?
|Asked By – sashoalm||Read Answers|