<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[RHEL8 Qt 5.15.2 enable xcb]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I need to compile Qt 5.15.2 on RHEL8. We were previously using 5.5.1 on RHEL 6&amp;7. I am able to compile Qt but i am missing the following libraries when building our project:</p>
<pre><code>libQt5XcbQpa.so
libQt5XcbQpa.so.5
libQt5XcbQpa.so.5.15
libQt5XcbQpa.so.5.15.2
</code></pre>
<p dir="auto">There was a changed introduced in Qt 5.15 as mentionned in <a href="https://codereview.qt-project.org/c/qt/qtdoc/+/300877/3/doc/src/platforms/linux.qdoc#131" target="_blank" rel="noopener noreferrer nofollow ugc">https://codereview.qt-project.org/c/qt/qtdoc/+/300877/3/doc/src/platforms/linux.qdoc#131</a></p>
<p dir="auto">the command line for configurating the Qt build system is :</p>
<pre><code>./configure -prefix /home/user/work/compile_qt/Qt5.15.2 -xcb-xlib -bundled-xcb-xinput -skip qtwebengine -no-opengl -skip qt3d -skip qtandroidextras -skip qtcharts -skip qtdatavis3d -skip qtdeclarative -skip qtgamepad -skip qtlocation -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtscript -skip qtsensors -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtremoteobjects -skip qtconnectivity -skip qttools
</code></pre>
<p dir="auto">Below is the relevant options check before compilation:</p>
<pre><code>Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 8.5.0
Configuration: sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples enable_new_dtags f16c largefile precompile_header rdrnd shani x86SimdAlways shared shared rpath release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports reduce_relocations stl
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Building shared libraries .............. yes
  Using C standard ....................... C11
  Using C++ standard ..................... C++17
  Using ccache ........................... no
  Using new DTAGS ........................ yes
  Relocatable ............................ yes
  Using precompiled headers .............. yes
  Using LTCG ............................. no
  Target compiler supports:
    SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
    AVX .................................. AVX AVX2
    AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI
    Other x86 ............................ AES F16C RDRAND SHA
    Intrinsics without -mXXX option ...... yes
  Build parts ............................ libs examples tools
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... no
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... yes
  udev ................................... no
  Using system zlib ...................... yes
  Zstandard support ...................... no
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... no
  iconv .................................. yes
  ICU .................................... no
  Built-in copy of the MIME database ..... yes
  Tracing backend ........................ &lt;none&gt;
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  PCRE2 .................................. yes
    Using system PCRE2 ................... yes
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  Linux AF_NETLINK ....................... yes
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ no
  OpenSSL 1.1 ............................ yes
  DTLS ................................... yes
  OCSP-stapling .......................... yes
  SCTP ................................... no
  Use system proxies ..................... yes
  GSSAPI ................................. yes
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ no
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
  Fontconfig ............................. no
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... no
    PNG .................................. yes
      Using system libpng ................ no
  Text formats:
    HtmlParser ........................... yes
    CssParser ............................ yes
    OdfWriter ............................ yes
    MarkdownReader ....................... yes
      Using system libmd4c ............... no
    MarkdownWriter ....................... yes
  EGL .................................... no
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon .............................. no
  X11 specific:
    XLib ................................. no
    XCB Xlib ............................. no
    EGL on X11 ........................... no
    xkbcommon-x11 ........................ no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. no
  LinuxFB ................................ yes
  VNC .................................... yes
Qt Sql:
  SQL item models ........................ yes
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... no
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite2 ................................ no
  SQLite ................................. yes
    Using system provided SQLite ......... no
  TDS (Sybase) ........................... no
Qt Testlib:
  Tester for item models ................. yes
Serial Port:
  ntddmodm ............................... no
Qt SerialBus:
  Socket CAN ............................. yes
  Socket CAN FD .......................... yes
  SerialPort Support ..................... yes
Further Image Formats:
  JasPer ................................. no
  MNG .................................... no
  TIFF ................................... yes
    Using system libtiff ................. no
  WEBP ................................... yes
    Using system libwebp ................. no
QtXmlPatterns:
  XML schema support ..................... yes
Qt Multimedia:
  ALSA ................................... no
  GStreamer 1.0 .......................... no
  GStreamer 0.10 ......................... no
  Video for Linux ........................ yes
  OpenAL ................................. no
  PulseAudio ............................. no
  Resource Policy (libresourceqt5) ....... no
  Windows Audio Services ................. no
  DirectShow ............................. no
  Windows Media Foundation ............... no

Note: Also available for Linux: linux-clang linux-icc

WARNING: Feature system-xcb-xinput is insignificant in this configuration, ignoring related command line option(s).

ERROR: Feature 'xcb-xlib' was enabled, but the pre-condition 'features.xlib &amp;&amp; libs.xcb_xlib' failed.

Check config.log for details.
</code></pre>
<p dir="auto">Here is a grep off relevant installed packages:</p>
<pre><code>$ sudo yum list --installed | grep xcb
libX11-xcb.x86_64                                  1.6.8-8.el8                                                 @rhel-8-for-x86_64-appstream-rpms
libxcb.x86_64                                      1.13.1-1.el8                                                @rhel-8-for-x86_64-appstream-rpms
libxcb-devel.x86_64                                1.13.1-1.el8                                                @rhel-8-for-x86_64-appstream-rpms
xcb-util.x86_64                                    0.4.0-10.el8                                                @rhel-8-for-x86_64-appstream-rpms
xcb-util-image.x86_64                              0.4.0-9.el8                                                 @rhel-8-for-x86_64-appstream-rpms
xcb-util-keysyms.x86_64                            0.4.0-7.el8                                                 @rhel-8-for-x86_64-appstream-rpms
xcb-util-renderutil.x86_64                         0.3.9-10.el8                                                @rhel-8-for-x86_64-appstream-rpms
xcb-util-wm.x86_64                                 0.4.1-12.el8                                                @rhel-8-for-x86_64-appstream-rpms
</code></pre>
<p dir="auto">The build system seems to be missing libraries despite installing multiple libraries that should fix the problem. What am i missing ?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.qt.io/topic/158619/rhel8-qt-5-15-2-enable-xcb</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 15:03:32 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/158619.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Sep 2024 12:47:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RHEL8 Qt 5.15.2 enable xcb on Mon, 09 Sep 2024 14:12:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oliver-gibson">@<bdi>Oliver-Gibson</bdi></a> those should be provided by <code>qt5-qtbase-gui-5.15.2-5.el8.x86_64.rpm</code> or similar? If those were moved out of the qtbase then I don't really know, have very little experience with RHEL.</p>
]]></description><link>https://forum.qt.io/post/809076</link><guid isPermaLink="true">https://forum.qt.io/post/809076</guid><dc:creator><![CDATA[artwaw]]></dc:creator><pubDate>Mon, 09 Sep 2024 14:12:08 GMT</pubDate></item><item><title><![CDATA[Reply to RHEL8 Qt 5.15.2 enable xcb on Tue, 10 Sep 2024 13:10:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi, this does solve the issue although it installs it in the lib64 directory so the makefiles will have to be changed. Thanks for your support</p>
]]></description><link>https://forum.qt.io/post/809170</link><guid isPermaLink="true">https://forum.qt.io/post/809170</guid><dc:creator><![CDATA[Oliver Gibson]]></dc:creator><pubDate>Tue, 10 Sep 2024 13:10:32 GMT</pubDate></item><item><title><![CDATA[Reply to RHEL8 Qt 5.15.2 enable xcb on Mon, 09 Sep 2024 14:12:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oliver-gibson">@<bdi>Oliver-Gibson</bdi></a> those should be provided by <code>qt5-qtbase-gui-5.15.2-5.el8.x86_64.rpm</code> or similar? If those were moved out of the qtbase then I don't really know, have very little experience with RHEL.</p>
]]></description><link>https://forum.qt.io/post/809076</link><guid isPermaLink="true">https://forum.qt.io/post/809076</guid><dc:creator><![CDATA[artwaw]]></dc:creator><pubDate>Mon, 09 Sep 2024 14:12:08 GMT</pubDate></item></channel></rss>