Moving to qt5