Raise error when trying to use Qt older than 5.2