diff --git a/README.md b/README.md index ecbc01f..e713c40 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,13 @@ This tool is conceptually based on the [Mac Deployment Tool](http://doc.qt.io/qt ## Installation -* Open in Qt Creator and build your application. Run it from the command line and inspect it with `ldd` to make sure the correct libraries from the correct locations are getting loaded, as `linuxdeployqt` will use `ldd` internally to determine from where to copy libraries into the bundle +* Get and build linuxdeployqt e.g., in Qt Creator 5.7 + +``` +sudo apt-get -y install git g++ +git clone https://github.com/probonopd/linuxdeployqt.git +``` + * Build and install [patchelf](https://nixos.org/patchelf.html) (a small utility to modify the dynamic linker and RPATH of ELF executables; similar to `install_name_tool` on macOS). To learn more about this, see http://blog.qt.io/blog/2011/10/28/rpath-and-runpath/ ``` @@ -34,6 +40,8 @@ mv AppImageExtract /usr/local/bin/ ## Usage +Open in Qt Creator and build your application. Run it from the command line and inspect it with `ldd` to make sure the correct libraries from the correct locations are getting loaded, as `linuxdeployqt` will use `ldd` internally to determine from where to copy libraries into the bundle. + ``` Usage: linuxdeployqt app-binary [options]