Fixed qt5 migration for ME and PE