What happens if you try to display a PNG file instead of a JPEG? And please test on a QLabel and not using a window icon.