Important: Please read the Qt Code of Conduct -

Platform Plugins

  • Hi,

    I've recently had some trouble deploying and running an application with Qt5 due to platform plugins. I am using a config file ('qt.conf') to set the plugin path, which finds my plugin ('xcb'), however it still reports that the application failed to start. Is there anything I'm missing in my setup? I've included the output below in case it helps. Thanks for any ideas.

    Kind regards,


    QFactoryLoader::QFactoryLoader() looking at "/home/mdavies/dev/src/houdini/bin/karma/plugins/platforms/"
    Found metadata in lib /home/mdavies/dev/src/houdini/bin/karma/plugins/platforms/, metadata=
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
    "MetaData": {
    "Keys": [
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 328705

    Got keys from plugin meta data ()
    This application failed to start because it could not find or load the Qt platform plugin "xcb"
    in "".


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    I'd recommend taking a look at the linuxdeployqt project. It should make your life easier.

Log in to reply