Changed version Back to Qt4, Problems with QMainWindow!