-
Notifications
You must be signed in to change notification settings - Fork 423
Home
probonopd edited this page Feb 19, 2017
·
13 revisions
Some real-world examples
# Compile as usual
git clone https://github.com/fathomssen/redtimer.git
cd redtimer
git submodule update --init
qmake -r
make -j 4
# Create AppDir and start populating
mkdir -p appdir/usr/bin
cp gui/redtimer appdir/usr/bin/
cp ./.travis/redtimer.desktop appdir/
cp gui/icons/clock_red.svg appdir/redtimer.svg
# Deploy to AppDir
wget -c https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/bin/redtimer -qmldir=gui/
# Generate AppImage
./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/bin/redtimer -qmldir=gui/ -appimage
# Result is ./RedTimer-x86_64.AppImage
Note that some fine-tuning may be needed, such as properly copying icons and other resources into the AppImage manually.
linuxdeployqt -- Software packaging for Linux made simple! ❤️
Linuxdeployqt is the one-in-all solution for packaging application. If it doesn't do the job, we consider it a bug of the software. Please open an issue and suggest your idaes!
Support our mission for a revolution of the Linux desktop and application deployment therefore! Visit http://appimage.org for more information on AppImage, related technologies, user and open source project lead voices, and examples!