There is a file named ".profile" in $(HOME) to manage environment variables of current user. Note that all environment variables declared here will only be accessful in bash process. If you want other application to share them, you should export them as follows:
QTDIR=/Applications/Qt
PATH=$QTDIR/bin
export QTDIR PATH
QTDIR=/Applications/Qt
PATH=$QTDIR/bin
export QTDIR PATH