port to Qt 5.3.1