Qt project stops working when changing location mainwindow

Printable View