fix build error in qt 4.8.4