Move from qt4 to qt5