Some of my jpegs appear to have the orientation tag(0x112) set to zero. This is not a problem for most other graphics apps, whereas QImage and QImageReader fails to load the image.
Solution: edit function getExifOrientation in file qtbase/src/gui/image/qjpeghandler.cpp
not to fail for values below 1.
There appears to be no negative affects to this mod.