how can i check if a large QImage contains a smaller QImage?

Lets say in the large QImage contains is a picture of a cat (the cat in this image has the same size as the cat in the following small Qimage) and the small QImage is the cat. Now i want to know if the small QImage so the cat is in the large QImage.

thanks