Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cqtdeployment missing package

Cqtdeployment missing package

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 474 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rtvideo
    wrote on last edited by rtvideo
    #1

    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?

    Pablo J. RoginaP 1 Reply Last reply
    0
    • R rtvideo

      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?

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @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.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • EndrII 0E Offline
        EndrII 0E Offline
        EndrII 0
        wrote on last edited by
        #3

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

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved