rcc: 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/lib64/qt5/bin/rcc - from package: qt5-qtbase-devel
/usr/lib/qt5/bin/rcc - from package: qt5-qtbase-devel
/usr/bin/rcc - from package: qt-devel
/usr/lib64/qt4/bin/rcc - from package: qt-devel
/usr/lib/qt4/bin/rcc - from package: qt-devel

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

On Debian possible default full paths are:

/usr/bin/rcc - from package: qtchooser
/usr/lib/x86_64-linux-gnu/qt4/bin/rcc - from package: libqt4-dev-bin
/usr/share/qt4/bin/rcc - from package: libqt4-dev-bin
/usr/lib/x86_64-linux-gnu/qt5/bin/rcc - from package: qtbase5-dev-tools

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