It just occurred to me, that you can do something else:
You can draw your QImage in its largest possible size, then it will always look correct, unless you scale it beyond its real size.