How to add the $PATH

how to add the $PATH environment to build the package,
for example, specify a folder with qt?