Added a build time check for Qt 5.2

Signed-off-by: Ashish Madeti <ashishmadeti@gmail.com>