converted to qt 5.2.1