qmake-qt4: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/qmake-qt4 - from package: qt-devel
/usr/lib64/qt4/bin/qmake-qt4 - from package: qt-devel
/usr/lib/qt4/bin/qmake-qt4 - from package: qt-devel

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/qmake-qt4 - from package: qt4-qmake

You may install the required package with command apt-get install {package}
Error in other languages:
qmake-qt4: bevel nie gevind nie
qmake-qt4: comandă negăsită
qmake-qt4: comando não encontrado
qmake-qt4: commande introuvable
qmake-qt4: command not found
qmake-qt4: käsku ei ole
qmake-qt4: không tìm thấy lệnh
qmake-qt4: komanda nerasta
qmake-qt4: Kommando nicht gefunden.
qmake-qt4: kommandot finns inte
qmake-qt4: komut yok
qmake-qt4: nie znaleziono polecenia
qmake-qt4: níor aimsíodh an t-ordú
qmake-qt4: no se encontró la orden
qmake-qt4: no s'ha trobat l'ordre
qmake-qt4: opdracht niet gevonden
qmake-qt4: parancs nem található
qmake-qt4: perintah tidak ditemukan
qmake-qt4: príkaz nenájdený
qmake-qt4: příkaz nenalezen
qmake-qt4: команда не найдена
qmake-qt4: командата не е открита
qmake-qt4: 命令找不到
qmake-qt4: コマンドが見つかりません