# /etc/profile: system-wide .profile file for the Bourne shells
#
#
set_path_before()
{
[ -d $1 ] && PATH="$1:$PATH"
}
PATH="/usr/bin:/usr/sbin:/bin:/sbin"
set_path_before /usr/local/sbin
set_path_before /usr/local/bin
LD_LIBRARY_PATH="/usr/local/lib:/usr/lib:/mnt/lib"
export PATH
export LD_LIBRARY_PATH
export QTDIR=/mnt/Qt_sample/Qt4.8.6
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QT_QWS_FONTDIR=$QTDIR/lib/fonts
export QWS_DISPLAY=LinuxFB:/dev/fb0
export PATH=/mnt/Qt_sample/Qt4.8.6/bin:$PATH
#
本文出自 “11907685” 博客,请务必保留此出处http://11917685.blog.51cto.com/11907685/1911428
原文地址:http://11917685.blog.51cto.com/11907685/1911428