trying to port to Qt 5.2