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

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