我按照http://support.oss.org.tw/wiki/index.php/Qt_environment
安裝完畢
然後裡面的步驟說要把相關執行檔加入環境變數以方便使用。
vi .bashrc
add /opt/qtsdk-2009.01/bin and /opt/qtsdk-2009.01/qt/bin to PATH
是要怎麼作??(root底下操作)
我打vi .bashrc
出現
# ~/.bashrc: executed by bash(1) for non-login shells.
export PS1='\h:\w\$ '
umask 022
# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "`dircolors`"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i
是直接將
/opt/qtsdk-2009.01/bin
/opt/qtsdk-2009.01/qt/bin
打進去嗎??