updated for qt 5.0.2