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

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

On Debian possible default full paths are:

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

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