It's better to check if QTDIR environment variable is set. Actually, I had to do it when adding WITH_QT knob.
State Changed From-To: open->closed Committed, thanks!