Fix: Handle QT5DIR env variable properly.
Issue #757: Fix printing stdout to the terminal continuously when running tests.
Merge pull request #75 from matysek/develop

Fix QT5DIR key error in hookutils. Fix printing to stdout when running tests.