ios: Fix compile for Qt less than version 5.2

Change-Id: I96f4953f945af1e5ddd2cabca854ec7b1a68fa80
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>