Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Cqtdeployment missing package



  • Hello, I used Cqtdeployer (https://wiki.qt.io/CQtDeployer) to create an executable of my program to be used on other Linux machines by simply just downloading a zip and running the executable without having to install anything QT related beforehand and for the most part it works great. The only issue I am receiving is this error:

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/rt/Downloads/DistributionKit/plugins/platforms:" 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

    I can simply run the command sudo apt-get install libxcb-xinerama0 and it will fix this error. However I want to be able to package it originally with this package and whoever I give the executable to run it not have to download this package before running it. Does anyone know a way I would be able to fix this when running the cqtdeployer command?



  • @rtvideo said in Cqtdeployment missing package:

    However I want to be able to package it originally with this package

    I don't think it's a good idea since using one packaged libxcb-xinerama0 library version could not be the right one for that particular OS release you're deploying your app onto.



  • Hello
    This is a CQtDeployer Tool bug. now fixed.
    just update cqtdeployer


Log in to reply