Qt application to take screenshot