changed includes and pro file config to qt5, fixed bug with QTimer in mainwindow