testdiff2/SpiriQGC/custom/deploy/qgroundcontrol-start.sh

12 lines
419 B
Bash
Raw Normal View History

2023-12-06 13:51:14 -04:00
#!/bin/sh
HERE="$(dirname "$(readlink -f "${0}")")"
export LD_LIBRARY_PATH="${HERE}/usr/lib/x86_64-linux-gnu":"${HERE}/Qt/libs":$LD_LIBRARY_PATH
export QML2_IMPORT_PATH="${HERE}/Qt/qml"
export QT_PLUGIN_PATH="${HERE}/Qt/plugins"
export QT_IM_MODULE=qtvirtualkeyboard
# hack until icon issue with AppImage is resolved
mkdir -p ~/.icons && \cp -f ${HERE}/qgroundcontrol.png ~/.icons
"${HERE}/CustomQGroundControl" "$@"