update code to qt 5.1