mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 21:05:44 +03:00
AppImage build tool for Qt needs to know our qml files
gives the path to qml files such that needed Qt qml modules are deployed correctly inside the AppImage package Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
347285b5b3
commit
07c2554eb3
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,6 @@ rm ./${APPIMAGE_NAME}
|
|||
cp -r ./squashfs-root ./linuxdeploy-squashfs-root
|
||||
|
||||
export LD_LIBRARY_PATH=/app/usr/lib:/opt/qt6.6.3/lib:/usr/local/lib/x86_64-linux-gnu:/usr/local/lib:/usr/local/lib64
|
||||
export PATH=/opt/qt6.6.3/bin:${PATH}
|
||||
./linuxdeploy-squashfs-root/AppRun --desktop-file=${DESKTOP_FILE} --icon-file=usr/share/icons/hicolor/512x512/apps/${APPNAME}.png --executable=usr/bin/${EXECUTABLE_NAME} --appdir=AppDir
|
||||
|
||||
# Use linuxdeploy-plugin-qt to deploy qt dependencies
|
||||
|
@ -82,6 +81,8 @@ chmod a+x ${APPIMAGE_NAME}
|
|||
rm ./${APPIMAGE_NAME}
|
||||
cp -r ./squashfs-root ./linuxdeploy-plugin-qt-squashfs-root
|
||||
|
||||
export PATH=/opt/qt6.6.3/bin:${PATH}
|
||||
export QML_SOURCES_PATHS=${DESKTOP_CLIENT_ROOT}/src/gui
|
||||
./linuxdeploy-plugin-qt-squashfs-root/AppRun --appdir=AppDir
|
||||
|
||||
./linuxdeploy-squashfs-root/AppRun --desktop-file=${DESKTOP_FILE} --icon-file=usr/share/icons/hicolor/512x512/apps/${APPNAME}.png --executable=usr/bin/${EXECUTABLE_NAME} --appdir=AppDir --output appimage
|
||||
|
|
Loading…
Reference in a new issue