In Qt, how to efficiently determine that a point is inside of one of rectangles?

Clash Royale CLAN TAG#URR8PPPIn Qt, how to efficiently determine that a point is inside of one of rectangles?
There is a large set of rectangles. Given a point, I need to quickly find if this point belongs to at least one of the rectangles, and find one.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.