adding few changes in qtApp