But the variable was set at some place in Qt4ProjectManagerPlugin. Do it all in QtVersionManager to avoid exactly the confusion that happened.