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

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

On Debian possible default full paths are:

/usr/bin/qcollectiongenerator - from package: qtchooser
/usr/lib/x86_64-linux-gnu/qt4/bin/qcollectiongenerator - from package: qt4-dev-tools
/usr/lib/x86_64-linux-gnu/qt5/bin/qcollectiongenerator - from package: qttools5-dev-tools

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