GUI visible on partial screen on 7 inch resisitve display

I have attached the below image. When i try to load demo qt image the GUI is not displayed on full screen. Also the touc points are inverted in some random way which i am not able to figure out.

I need solution for displaying the full screen and touch calibration.

Please suggest.

After setting environment variables the problem is solved.

Perfect. Thanks for the feedback.