Add version check: Error if not qt 4.

Conflicts:
	RefImage.pro