I believe it's just the same. Coming over to Doha and then applying does not give you any advantages. As such, it is better to apply form the UK, get hired and then come over.