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,
    Mark

    //--------------------------

    QFactoryLoader::QFactoryLoader() looking at "/home/mdavies/dev/src/houdini/bin/karma/plugins/platforms/libqxcb.so"
    Found metadata in lib /home/mdavies/dev/src/houdini/bin/karma/plugins/platforms/libqxcb.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
    "MetaData": {
    "Keys": [
    "xcb"
    ]
    },
    "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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.