fix compat with qt 5.2.0