Only require QtTest if needed
Merge pull request #17 from xhochy/no-test-no-qttest

Only require QtTest if needed