Unsolved Rebuild of libqxcd.so required
-
I have tried to build QT from source, but find it does not build the libqxcb.so library. The version that gets downloaded as part of the plugins/platforms directory is not compatible with my system, as it appears to have been built against newer versions of libc.so than is currently on my system. Therefore, I would like to rebuild libgxcd.so on my system, but can't figure out how to do that. I tried to add the -qt-xcb flag to the configure call, but get the following error as a result: "ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed." I do have libxcb.so.1.1.0 on my system (from libxcd-1.12-4 package). It appears to me that the source for this library is included in the Src/qtbase/src/plugins/platforms/xcb folder. But I don't know how to get this to build.
-
Hi and welcome to devnet,
You are missing the libxkbcommon development packages on your system.
-
@sgaist That package is not listed as a requirement for CentOS6. As such, it also does not seem to be available for CentOS6 either. It is only listed as a requirement for 7 (and only seems to be available for CentOS7)
-
@bmoul said in Rebuild of libqxcd.so required:
CentOS6
You did not say that at the beginning.
Which Qt version are you trying to build? -
Sorry. I'm trying to build QT version 5.13.1 on RedHat6
-
Then you either have to build libxkbcommon yourself or use an older version of Qt, i.e. 5.12.3.
-
@bmoul According to this: https://doc.qt.io/qt-5/linux.html you have to use RedHat7 for current Qt. On RedHat6 I would suggest to use an older Qt version (don't know which would be the most current one supporting RedHat6).
-
@sgaist Thanks. I will try that.
-
This post is deleted! -
@bmoul
well quick search says around
https://doc.qt.io/archives/qt-5.11/supported-platforms-and-configurations.html