Update README.md
[ci skip]
This commit is contained in:
@@ -16,7 +16,13 @@ This tool is conceptually based on the [Mac Deployment Tool](http://doc.qt.io/qt
|
|||||||
|
|
||||||
## Installation
|
## 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/
|
* 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
|
## 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]
|
Usage: linuxdeployqt app-binary [options]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user