<?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[Qt6 missing &quot;libqxcb.so&quot; file]]></title><description><![CDATA[<p dir="auto">When trying to execute QtCreator for Qt 6.3.0, the following error appears:</p>
<pre><code>qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc.
</code></pre>
<p dir="auto">However, it is possible to run on Qt5, that was already installed on the machine.</p>
<p dir="auto">Inspecting the plugins folder "/path/to/Qt/6.3.0/plugins/platforms/", there is no "<a href="http://libqxcb.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqxcb.so</a>" file. Only the following:</p>
<p dir="auto"><a href="http://libqeglfs.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqeglfs.so</a>  <a href="http://libqlinuxfb.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqlinuxfb.so</a>  <a href="http://libqminimalegl.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqminimalegl.so</a>  <a href="http://libqminimal.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqminimal.so</a>  <a href="http://libqoffscreen.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqoffscreen.so</a>  <a href="http://libqvnc.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqvnc.so</a></p>
<p dir="auto">So it was not possible to use the ldd command.</p>
<p dir="auto">On the Qt5 installation directory, it was possible to find the "<a href="http://libqxcb.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqxcb.so</a>" file, however, it links to Qt5 dependencies.</p>
<p dir="auto">Copying <a href="http://libqxcb.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqxcb.so</a> and pasting on the Debug project using Qt6, the following error message appears:</p>
<pre><code>Plugin uses incompatible Qt library (5.15.0) [release]
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc.
</code></pre>
<p dir="auto">When I use ldd command on the executable generated on the Debug directory, the following is found:</p>
<pre><code>libxcb.so.1 =&gt; /lib64/libxcb.so.1 (0x00007fe69098b000)
</code></pre>
<p dir="auto">And makind ldd on the path found "/lib64/libxcb.so.1"</p>
<pre><code>linux-vdso.so.1 (0x00007fff2f453000)
libXau.so.6 =&gt; /lib64/libXau.so.6 (0x00007f149989e000)
libc.so.6 =&gt; /lib64/libc.so.6 (0x00007f14994d9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1499ccb000)
</code></pre>
<p dir="auto">How do i install the libqxcb on Qt6 using Red Hat SO?</p>
]]></description><link>https://forum.qt.io/topic/140372/qt6-missing-libqxcb-so-file</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 02:50:43 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/140372.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Oct 2022 18:49:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt6 missing &quot;libqxcb.so&quot; file on Mon, 31 Oct 2022 13:04:18 GMT]]></title><description><![CDATA[<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/chrisw67">@<bdi>ChrisW67</bdi></a></p>
<p dir="auto">Qt Creator and Qt was installed from Qt sources, however, the person that installed ignored the warnings and dependencies, so some packages weren't installed.</p>
<p dir="auto">I am enabling Code Ready for RHEL and installing the required dependencies that are missing.</p>
<p dir="auto">I also think that RHEL isn't the right OS for development.</p>
]]></description><link>https://forum.qt.io/post/734603</link><guid isPermaLink="true">https://forum.qt.io/post/734603</guid><dc:creator><![CDATA[danieltak]]></dc:creator><pubDate>Mon, 31 Oct 2022 13:04:18 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 missing &quot;libqxcb.so&quot; file on Sat, 29 Oct 2022 04:38:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/danieltak">@<bdi>danieltak</bdi></a> I still do not know how you installed Qt Creator.  What  "done building the binaries" means  is unclear.  It looks like you have installed a set of Qt binaries provided by Redhat and not those provided by Qt Company.</p>
<p dir="auto">The old Qt Creator version you have was built with Qt <strong>5.15.2</strong>, so it should quite happily use the platform plugins from that Qt version.  If that Qt version was built without Xcb support, e.g. deliberately or because libxcb was not present, then you cannot use that functionality until you add it.  I do not have a RHEL8 installation to tell you exactly what your course of action should be.</p>
<p dir="auto">It really seems to me that Qt development on  RHEL8 is a perennial problem.  The easiest path would be to ignore the system packages and use the QT Company online installer to make a completely independent Qt development tool set.</p>
]]></description><link>https://forum.qt.io/post/734450</link><guid isPermaLink="true">https://forum.qt.io/post/734450</guid><dc:creator><![CDATA[ChrisW67]]></dc:creator><pubDate>Sat, 29 Oct 2022 04:38:25 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 missing &quot;libqxcb.so&quot; file on Fri, 28 Oct 2022 19:37:11 GMT]]></title><description><![CDATA[<p dir="auto">On RedHat RHEL some dependencies must be installed, however, they are not enabled.</p>
<p dir="auto">You need to enable Code Ready Linux Builder: <a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/package_manifest/codereadylinuxbuilder-repository" target="_blank" rel="noopener noreferrer nofollow ugc">https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/package_manifest/codereadylinuxbuilder-repository</a></p>
]]></description><link>https://forum.qt.io/post/734428</link><guid isPermaLink="true">https://forum.qt.io/post/734428</guid><dc:creator><![CDATA[danieltak]]></dc:creator><pubDate>Fri, 28 Oct 2022 19:37:11 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 missing &quot;libqxcb.so&quot; file on Fri, 28 Oct 2022 11:48:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chrisw67">@<bdi>ChrisW67</bdi></a></p>
<pre><code>[user@localhost opt]$ /opt/Qt$ find {5,6}*  -type f -name 'libqxcb.so'
bash: /opt/Qt$: No such file or directory
</code></pre>
<p dir="auto">Qt Creator also doesn't have the xcb:</p>
<pre><code>libqeglfs.so    libqminimalegl.so  libqoffscreen.so
libqlinuxfb.so  libqminimal.so     libqvnc.so
</code></pre>
<p dir="auto">The installation was done building the binaries, this is the version:</p>
<pre><code>Qt Creator 4.12.4
Based on Qt 5.15.2 (GCC 8.5.0 20210514 (Red Hat 8.5.0-10), 64 bit)

Copyright 2008-2020 The Qt Company Ltd. All rights reserved.
</code></pre>
<p dir="auto">And the binaries on Qt 6.3.0 was built separatedly, do I need to upgrade the Qt Creator Version? Because <a href="http://libqxcb.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqxcb.so</a> only works on Qt5</p>
]]></description><link>https://forum.qt.io/post/734388</link><guid isPermaLink="true">https://forum.qt.io/post/734388</guid><dc:creator><![CDATA[danieltak]]></dc:creator><pubDate>Fri, 28 Oct 2022 11:48:44 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 missing &quot;libqxcb.so&quot; file on Fri, 28 Oct 2022 01:25:43 GMT]]></title><description><![CDATA[<p dir="auto">It is not clear if the problem is starting Qt Creator itself or starting an application built in the Qt Creator environment.</p>
<p dir="auto">How was Qt Creator installed?  Qt Creator out of the online binary installer certainly includes the Xcb platform plugin in its runtime copy of Qt.</p>
<pre><code>chrisw@newton:~/Qt/Tools/QtCreator/lib/Qt/plugins/platforms$ ls -l *xcb*
-rwxr-xr-x 1 chrisw chrisw  19056 Aug 11 11:29 libqxcb.so
</code></pre>
<p dir="auto">Copies of Qt against which  you build your applications also include this platform plugin when they come from the online installer:</p>
<pre><code>chrisw@newton:~/Qt$ find {5,6}*  -type f -name 'libqxcb.so'
5.15.2/gcc_64/plugins/platforms/libqxcb.so
6.4.0/gcc_64/plugins/platforms/libqxcb.so
</code></pre>
]]></description><link>https://forum.qt.io/post/734345</link><guid isPermaLink="true">https://forum.qt.io/post/734345</guid><dc:creator><![CDATA[ChrisW67]]></dc:creator><pubDate>Fri, 28 Oct 2022 01:25:43 GMT</pubDate></item></channel></rss>