Like saman007uk suggested you usually have make sure that the file you want to execute is in one of the directories of your PATH environment variable. To list all these directories, type:
If your desired file is not part of this you have at least three options:
First: Run the file direct with the full absolute or relative path:
Code:
/path/to/qt/executable
Second: Add the directory of the file to your PATH variable -> See saman007uk's post
And third (maybe the most common!): Simply set up a link to the file in one of PATH's directories (usual '/usr/bin' or '/usr/local/bin')
(as root)
Code:
ln -s /path/to/qt/executable /usr/bin/