Skip to content
Snippets Groups Projects
Commit f3f5966d authored by TanguyRaufflet's avatar TanguyRaufflet
Browse files

Ajout de la doc pour déployer le fichier binaire sur linux

parent 2a4dfb87
No related branches found
No related tags found
No related merge requests found
......@@ -139,4 +139,41 @@ Open Qt terminal :
cd {path}\eiimage //({path} is where you cloned eiimage repository)
cd build
mingw32-make -j4
\ No newline at end of file
mingw32-make -j4
## Linux deployment
As we compile ImageINSA dynamically, we need to provide all dependencies with the binary file. To do this, we recommend to use the deployment tool called linuxdeplqt.
This is a project developed by the community but widely used.
https://github.com/probonopd/linuxdeployqt/blob/master/README.md
#### Usage :
Create the architecture below
```
└── usr
├── bin
│ └── imageinsa
├── lib
└── share
├── applications
│ └── imageinsa.desktop
└── icons
```
create the file imageinsa.desktop with the content below :
````
[Desktop Entry]
Type=Application
Name=ImageINSAapp
Exec=imageinsa
Icon=imageinsa
Categories=Office;
````
run
````
linuxdeployqt-continuous-x86_64.AppImage path/to/AppDir/usr/share/applications/imageinsa.desktop -appimage
````
add the translations to the bin folder.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment