#!/bin/bash
export QTDIR=/opt/Qt/Qt5.12.5_guneabihf
export QML2_IMPORT_PATH=/opt/Qt/Qt5.12.5_guneabihf/qml
export QT_QPA_PLATFORM_PLUGIN_PATH=/opt/Qt/Qt5.12.5_guneabihf/plugins
export LD_LIBRARY_PATH=/opt/Qt/Qt5.12.5_guneabihf/lib
export QWS_MOUSE_PROTO=/dev/input/event0
export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0:rotation=90
######running
if [ $# -lt 1 ]; then
echo "enter an app_name to running";
else
$1
fi
沒有留言:
張貼留言