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

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

On Debian possible default full paths are:

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

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