qt5 migration fix