ls -lh .
rm -rf *_autogen
mkdir -p appdir/usr/bin
cp linux-bin/qt-dab*  appdir/usr/bin/qt-dab-6
 
mkdir -p appdir/usr/share/applications
cp qt-dab-6.desktop appdir/usr/share/applications
cp qt-dab-6.png appdir/qt-dab-6.png
touch appdir/qt-dab-6.png
mkdir -p ./appdir/usr/share/icons/hicolor/256x256/apps/
cp qt-dab-6.png appdir/usr/share/icons/hicolor/256x256/apps/
  
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" 
chmod a+x linuxdeployqt*.AppImage
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/* -bundle-non-qt-libs -no-translations
./linuxdeployqt*.AppImage --appimage-extract
find appdir/usr/plugins/ -type f -exec squashfs-root/usr/bin/patchelf --set-rpath '$ORIGIN/../../lib' {} \;
chmod a+x appimage/* ; rm appdir/AppRun ; cp appimage/* appdir/
export PATH=squashfs-root/usr/bin/:$PATH
squashfs-root/usr/bin/appimagetool $(readlink -f ./appdir/)
find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
:
