Addressed a small issue with debug information always being generated. Also fixed an issue with QtTest/QtTest generating some warnings.