I have different versions of gcc on my machine (Linux).

1)How to modify qmake.conf file correctly in order to be able to build Qt with particular compiler version (provided complete path to it)?
2)Having modified the qmake.conf file, do I still need to modify (set) PATH, LD_LIBRARY_PATH and QTDIR variables?