prepare the switch to qt5