Only avoid deprecated API from before our minimum required version,
otherwise we can't build with newer Qt versions as API we might be
using is deprecatedIt was deprecated for not reporting the actual width but horizontal advance. Use the actual bounding width instead and don't claim to support future deprecations.