Added auto detect of Q_HOME