Fix backporting QT5.2.1

Signed-off-by: Carlo Caione <carlo@caione.org>