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. [SOLVED] Deploy a portable application on Ubuntu
QtWS25 Last Chance

[SOLVED] Deploy a portable application on Ubuntu

Scheduled Pinned Locked Moved Solved Installation and Deployment
qt 5.5.1ubuntuc++
3 Posts 2 Posters 1.7k Views
  • 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
    antonyprojr
    wrote on last edited by antonyprojr
    #1

    I've compiled my Qt 5 application on Ubuntu, now i want to distribute that application, but instead expect my users performs installation i want they just download extract and run the app.
    I tried to share the so files of my Qt 5.5.1 on another Ubuntu machine but my application only shows 5.4 as Qt version. I tried also put QMAKE_LFLAGS += -Wl,-rpath,"'$$ORIGIN'" and call chrpath -r $ORIGIN Test with no result, the application still using 5.4 instead 5.5.

    My question is: How to properly distribute my Qt 5.5.1 application to Ubuntu machines with the appropriate dependencies but without Qt development files (Qt Creator) installed?

    JKSHJ 1 Reply Last reply
    0
    • A antonyprojr

      I've compiled my Qt 5 application on Ubuntu, now i want to distribute that application, but instead expect my users performs installation i want they just download extract and run the app.
      I tried to share the so files of my Qt 5.5.1 on another Ubuntu machine but my application only shows 5.4 as Qt version. I tried also put QMAKE_LFLAGS += -Wl,-rpath,"'$$ORIGIN'" and call chrpath -r $ORIGIN Test with no result, the application still using 5.4 instead 5.5.

      My question is: How to properly distribute my Qt 5.5.1 application to Ubuntu machines with the appropriate dependencies but without Qt development files (Qt Creator) installed?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi @antonyprojr , see this blog post for details on how to set rpath correctly: http://www.tripleboot.org/?p=138

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      A 1 Reply Last reply
      0
      • JKSHJ JKSH

        Hi @antonyprojr , see this blog post for details on how to set rpath correctly: http://www.tripleboot.org/?p=138

        A Offline
        A Offline
        antonyprojr
        wrote on last edited by
        #3

        @JKSH Thanks, this link solved my problem.

        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