<?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[Could not load the Qt platform plugin &quot;xcb&quot; in &quot;&quot; even though it was found.]]></title><description><![CDATA[<p dir="auto">Hi, I am trying to run app using the flatpack run.</p>
<pre><code>flatpak run org.cubocore.CoreKeyboard
</code></pre>
<p dir="auto">With error response:</p>
<pre><code>qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
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, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.                                       
</code></pre>
<p dir="auto">/w QT_DEBUG_PLUGINS set to 1:</p>
<pre><code>QFactoryLoader::QFactoryLoader() checking directory path "/usr/share/runtime/lib/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqeglfs.so"
Found metadata in lib /usr/lib/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqminimal.so"
Found metadata in lib /usr/lib/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqminimalegl.so"
Found metadata in lib /usr/lib/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqoffscreen.so"
Found metadata in lib /usr/lib/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqvnc.so"
Found metadata in lib /usr/lib/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /usr/lib/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /usr/lib/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archreq": 0,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /usr/lib/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /usr/lib/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-glx"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqxcb.so"
Found metadata in lib /usr/lib/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/app/bin/platforms" ...
loaded library "/usr/lib/plugins/platforms/libqxcb.so"
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
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, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
</code></pre>
<p dir="auto">And I am on my dead end. Thus I am asking you for your help</p>
]]></description><link>https://forum.qt.io/topic/145778/could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found</link><generator>RSS for Node</generator><lastBuildDate>Mon, 02 Nov 2026 04:24:38 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/145778.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Jun 2023 07:55:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Could not load the Qt platform plugin &quot;xcb&quot; in &quot;&quot; even though it was found. on Thu, 15 Jun 2023 20:09:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bastercz">@<bdi>BasterCz</bdi></a> hi,</p>
<p dir="auto">Which display manager are you using ?<br />
Are you sure you have an Xorg session and not Wayland ?</p>
]]></description><link>https://forum.qt.io/post/761618</link><guid isPermaLink="true">https://forum.qt.io/post/761618</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 15 Jun 2023 20:09:05 GMT</pubDate></item><item><title><![CDATA[Reply to Could not load the Qt platform plugin &quot;xcb&quot; in &quot;&quot; even though it was found. on Thu, 15 Jun 2023 08:26:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonb">@<bdi>JonB</bdi></a> The 0.0 is not working for me (xrandr does not accept it) My address is :0, but still no success</p>
]]></description><link>https://forum.qt.io/post/761501</link><guid isPermaLink="true">https://forum.qt.io/post/761501</guid><dc:creator><![CDATA[BasterCz]]></dc:creator><pubDate>Thu, 15 Jun 2023 08:26:52 GMT</pubDate></item><item><title><![CDATA[Reply to Could not load the Qt platform plugin &quot;xcb&quot; in &quot;&quot; even though it was found. on Thu, 15 Jun 2023 08:03:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bastercz">@<bdi>BasterCz</bdi></a> said in <a href="/post/761497">Could not load the Qt platform plugin "xcb" in "" even though it was found.</a>:</p>
<blockquote>
<p dir="auto"><code>qt.qpa.xcb: could not connect to display</code></p>
</blockquote>
<p dir="auto">I <em>believe</em> this indicates (or at least could indicate) that the <strong>xcb</strong> is correctly installed but the program cannot access the display.  Certainly if you were using Xorg here I would be advising to set the <code>DISPLAY=0.0</code> environment variable.  I see you are using Wayland, I don't know about that, does it have any equivalent setting to tell it what display to use?</p>
]]></description><link>https://forum.qt.io/post/761500</link><guid isPermaLink="true">https://forum.qt.io/post/761500</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Thu, 15 Jun 2023 08:03:37 GMT</pubDate></item></channel></rss>