Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. A problem when I try to deploy my QT5 application in Ubuntu.

A problem when I try to deploy my QT5 application in Ubuntu.

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 900 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.
  • H Offline
    H Offline
    huangjiafish
    wrote on last edited by
    #1

    I use ldd to find out and copy all the library I need to a folder,
    and then I use a script i search from Google:
    @
    #!/bin/sh
    appname=basename $0 | sed s,\.sh$,,

    dirname=dirname $0
    tmp="${dirname#?}"

    if [ "${dirname%$tmp}" != "/" ]; then
    dirname=$PWD/$dirname
    fi
    LD_LIBRARY_PATH=$dirname
    export LD_LIBRARY_PATH
    $dirname/$appname "$@"
    @

    When I run this script,I got a problem:
    @This application failed to start because it could not find or load the Qt platform plugin "xcb".

    Reinstalling the application may fix this problem.@

    I try to copy libqxcb.so and libQt5DBus.so.5 to the folder,but it dosen't make any sense

    What should I do the next?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Please don't post the same thread in multiple sub-forum, one is enough

      "Duplicate":http://qt-project.org/forums/viewthread/34272/

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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