Fail qmake if QTC_SOURCE or QTC_BUILD are not set
Clean up code a little bit
Clean up .pro