Qt 5.2.0 compatibility