qcollectiongenerator-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

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

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