1. port to qt5.1