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. Try to deploy my first program under linux.
Qt 6.11 is out! See what's new in the release blog

Try to deploy my first program under linux.

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

    I want to deploy a software under linux platforms.
    Qt5 is not supported yet in a lot of distros, so i have to put shared libraries files (.so) with the binary file.
    my question:
    in which directory can i find those shared library and should i put them in the same directory of binary file or somewhere else?
    (my OS is fedora linux)

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, I haven't tried Fedora myself but on Debian and Ubuntu I put Qt's .so files together in the same directory as the binary app file.

      Then you need to put the platform plugin file for Linux as a subdirectory and fix the chrpath for the binary app file.

      Which .so files you need and where to find them? Qt has "some documentation":http://qt-project.org/doc/qt-5/linux-deployment.html
      Also I've written a "a blog post about Qt deployment":http://www.tripleboot.org/?p=138 (look for the Linux/GCC part).

      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