[SOLVED] Deploy a portable application on Ubuntu
-
wrote on 19 Jan 2016, 02:21 last edited by 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?
-
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?
Hi @antonyprojr , see this blog post for details on how to set rpath correctly: http://www.tripleboot.org/?p=138
-
Hi @antonyprojr , see this blog post for details on how to set rpath correctly: http://www.tripleboot.org/?p=138
wrote on 20 Jan 2016, 03:12 last edited by@JKSH Thanks, this link solved my problem.
1/3