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

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